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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Search for Multiple St...
Power Automate
Unanswered

Search for Multiple Strings in PDF and Word, Return Page Number(s) Where Strings Appear

(0) ShareShare
ReportReport
Posted on by

Hi all, 

 

Tearing my hair out on this one. I have a list of words (e.g. "Tom", "John" and "Harry") and need to find a streamlined way to extract the page number(s) on which each word appears.

 

The list of words is fixed/can be hardcoded but would ideally be read from a column in Excel and the resulting page numbers (output) would be written to a column in that worksheet, separated by commas and in the row matching the search string.  

 

The files to be searched are most often PDFs (always file created/no need to add OCR) but occasionally include word documents. 

 

Any ideas? I see that @antoinec assisted on something slightly similar but that required OCR and extracting pages themselves. https://powerusers.microsoft.com/t5/AI-Builder/Search-specific-text-on-a-PDF-and-get-the-page-number-it-exists/m-p/1462430?lightbox-message-images-1463051=414173i90FB0B28999BC443#M1182 

Categories:
I have the same question (0)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard