Hi @VikasKaushik
You can use regex with lookups to find what you need.
Depending on what is in the text, you could use:
- Search 6 digits in a row, if there is no other such number in the text - risky
\d{7}
- Search 6 digits that appear before "-" and another digit using a lookahead. Safer.
\d{7}(?=-\d)
- Use both lookahead and lookbehind to pinpoint exact data - My preferred way.
(?<=Customer number\t)\d{7}(?=-\d)
So:
Action 1 - read text from the PDF
Action 2 - Analyze text with regex, output match as a variable