I want to extract the place of delivery which is “delta, bc” in this file . likewise I want to extract the same for the multiple pdfs where in the delivery location is dynamic. I need a regex for doing the same. Can someone help me on this please…
yes.
Try using this regular expression in a Matches activity:
Place\sof\sDelivery.*[\r\n]+([^\r\n]+)
First you will need to extract text from pdf using Read PDF Text activity that is part of UiPath.PDF.Activities
Hope it helps!
1 Like
If the value is ALWAYS in the same line, you don’t even need a regex. After reading PDF as text, you can index the text file by lines, so it would be in assign activity:
DeliveryLoc = PdfText(index)
Best regards
Artur
2 Likes
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.