How can i extract many information from pdf from page 16 for example plz

How can i extract many information from pdf from page 16 for example plz

Hello

You will need to:

  1. Read the PDF file in UiPath and then
  2. Use Regex to extract the data.

To read the PDF file you will need to install an additional UiPath package - UiPath.PDF.Activities

Click Manage packages → Click ‘Official’ → type in “PDF” in the search bar → Click on UiPath.PDF.Activities ->Click Install → Click “Save”

Then you will find a new activity called “Read PDF text” in the activity pane.

image

Insert the activity and select your file:

image

Write the PDF file variable using a write line activity.

Now you need a Regex Pattern
Share the results in and ask for assistance with a Regex Pattern.
Provide the Sample, highlight the Output and tell us about the Pattern.

Hopefully this helps :slight_smile:

4 Likes

If you are specifically looking for page 16, you need to change the Range in the below screenshot to “16” in "“Read PDF Text” Properties

image

2 Likes

@prasath17 So if i need to read the text between 16 to 200 i need to write : “16:200 ?” thank you

@Steven_McKeering

Thank you Steven, how can i use regex model plz ? :slight_smile:

For 16 to 200, e.g. “16-200”),

For more complex range, (e.g. “2-5, 7, 15-End” or “All”).

@prasath17 I tried “180-1090” but i don’t have all the information of all pages

I think it only takes the number of characters not the pages

Check out my Regex Megapost for new users to learn how to use Regex :slight_smile:

1 Like

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