web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Getting Page Number of...
Power Automate
Unanswered

Getting Page Number of extracted text from PDF

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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.

I have the same question (0)
  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 921

#2
Valantis Profile Picture

Valantis 801

#3
Haque Profile Picture

Haque 588

Last 30 days Overall leaderboard