Loop in PDF Pages

Hello

I have a pdf file which has page count (n)-number of pages. I want to loop from 0 to n pages of pdf file and extract two string in each iteration. String 1 : first page i.e. and String 2 : next page and same in each iteration String 1 : second page and String 2 : third page and so on.

Can anyone help me with that

Thanks
RM

1 Like

Hi @mbs_rishabh , did you find an answer to your query? I have a similar problem.

You can try the following

  1. Use a while loop with counter value being increment every time when a pdf page is readed so after reading u can use get text or regex method to extract the details and store it somewhere.

Follow this sample to get an idea

sample workflow.zip (2.0 MB)

Regards

Nived N

Happy Automation

Thanks for your help!

1 Like