Find a string in PDF "241" and get this and next 7 characters to a variable

Hello, I have a pdf with a Purchase Order no. What I need is to get it to a variable.
The rule is that each order starts with “241” and has 10 numbers, like 2415556667
My question is: how to find “241” on PDF and get to variable also next 7 numbers (whole Purchase Order)?

Thank you


Ok I have a solution - I used a combination of IndexOf (to find a string “241” and Substring (to get 10 numbers).


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.