Reading pdf page by page using Regex

Hello guys,

I am trying to extrac some specific data from pdf using Regex. No issues extracting data. However, since these are combined invoices where there is 1 invoice per page and 500 invoices per pdf, so while using regex there are multiple matches. Kindly let me know how can i read page by page using Regex?

Hi @meegha,

  1. Assign counter variable = 1
  2. while counter < pagecount(lets say 500)
  3. read pdf text activity inside the body. Mention page no. in property using counter variable
  4. use regex operation for getting all the values.
  5. Assign counter variable = counter+1
  6. end

Thanks!

1 Like

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