I am reading all the data from a PDF, I want to find a string example “Tax ID: RO874231” from it using Regex.
The one which I am using is “(?<=Tax\sID)\d+”. It does not work
Please let me know the correct regex
I am reading all the data from a PDF, I want to find a string example “Tax ID: RO874231” from it using Regex.
The one which I am using is “(?<=Tax\sID)\d+”. It does not work
Please let me know the correct regex
@Anandhi
have a look on a more defensive pattern. The matched value we can later trim
Thanks it works
it works thanks
You should Mark the correct post as solution but not yours
sorry. Both the answers worked for me. Anyway to mark both as solution?
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.