I receive a Gmail that contains text similar to that below. I only want to extract the number immediately before the string 'symbol(s)'. In this case that number would be 233, but it and the other contents of the email vary every day.
ZBH Zimmer Biomet Holdings Inc Medical Devices Healthcare NYSE 25,250 120.68 0.03 0.02 3,124,139 ZBRA Zebra Technologies Corp Cl A Communication Equipment Technology NASDAQ 19,620 368.14 -11.43 -3.01 626,763 ZION Zions Bancorp N.A. Banks - Regional Financial Services NASDAQ 8,580 57.47 0.46 0.81 1,507,253 ZTS Zoetis Inc Drug Manufacturers - Specialty Healthcare NYSE 83,530 175.14 0.47 0.27 2,152,320 233 symbol(s)
I have figured out how to extract everything before,
(?:(?!symbols(s)).)*
but I don't want everything, only the number '233'.
Thank you

