I have multiple PDF attachments which i am downloading from Outlook and reading through all one by one and finding a particular number/Pattern -“100/14-27-061-19W5/0”.
I tried using Substring by taking position of preceding and succeeding words, it works for only a particular set of pdfs having same pattern and containing those succeeding/preceding words but fails for others.
Basically that pattern can be anywhere in pdf and can have dynamic preceding/succeeding words.
So, i though of using Regex, please can you help me with the regex syntax for the above pattern.
I have tried implementing the logic based on discussions from similar topic but it’s not working.
Everything is dynamic in the pattern except that length will be 15 and will have a W as shown.
Thanks in advance.