
Hi
I'm using PAD in order to search text in PDF. I did OCR on the PDF.
Search of the PDF is working fine, but I wish to add a functionality where I want to know the page number(s) where the words I'm searching were found. Normally, there will be only one page where the search is matched, not sure if more than one page may contain the text, I think it's very unlikely.
Would appreciate any guidance.
Does your text actually contain any page numbers? Can you perhaps share a sample of the text and also what you are trying to find in it? It is very likely that you would need to use the Parse text action with regular expressions to extract the page numbers based on the text you have already found. Or maybe use Split text to split your text into separate text blocks per page and then search for your text in each of them until you find what you are looking for.
But it's not really possible to give you any specific suggestions without having some context here.
-------------------------------------------------------------------------
If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.