Find pdf file name and page number, if it contains specific text

CONDITION:

I have 100s of pdf files stored in a folder, each pdf contains 100 to 200 pages.

WHAT I AM TRYING TO DO:

I want to search a specific word from those pdf files, example i like to search a word called “Honesty”.

WHAT IS THE RESULT I EXPECT

I want to know, in which pdf files and the page number of the file, does this word “Honesty” exists

You can also contact me for providing the solution or leave your contact.

HI @Prabakaran_R

Checkout this workflow

Regards
Sudharsan

Hi @Prabakaran_R

Check out this thread

Regards
Gokul

you can do a loop method by first taking each file , then get the page count using Uipath.pdf.Activities (attached below the activities )

then use extract pdf page range activity to split the page one by one (by incrementing the range up to last page)

After extracting each page use “Read PDF Text” activity to read the page as string.
Then check if the string contains (“Honesty”)

then get the page count as page count is getting increased by a variable

Hello @Prabakaran_R ,

Please check this simple flow:

Used activities:

Please do not forget to install the UiPath.PDF.Activities package

Demo xaml file:
Main.xaml (10.4 KB)

Hope this clarifies your issue!
Best regards,
Marius

Thanks all, main.xaml is not working, looks like the file is corrupt…