I am looking to get a piece of string after a particular bit of text after reading in a page from a PDF.
So for example, there will be multiple lines extracted to a variable, but one of the lines will be something similar to the below.
Email Address email@example.com (“the phone”) 9876543
I am looking to extract the number after the (“the phone”) piece of text.
Using Regex seems to throw errors for me as it doesn’t like the use of the " and the ().
Any help here is greatly appreciated.