To extract specific keyword from pdf text

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…

Hi @satish_kumar. Is the value of Place of delivery always located in the line below?


Try using this regular expression in a Matches activity:


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. :slight_smile: 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



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