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 / Searching Multiple Tex...
Power Automate
Answered

Searching Multiple Text values in parsed text

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi

I'm searching multiple PDF Files using PAD. I'm extracting some text from the PDF and saving in EXCEL.

 

The current process I'm following is:

1. Getting Files in Folder

2. Launch Excel File

In a loop, for each PDF File in the folder, I'm doing the following:

3. Extract Text from PDF

4. Parse text that is extracted from PDF and search for "Payment Terms and Conditions".

 

What I want ot do is to search more than one text. So, I want to search "Payment Terms and Conditions" OR "Conditions de paiement" in the Parse action.

 

So, I was wondering how can I do this?

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

    Enable the "Is regular expression" toggle in the Parse text action. This will allow using the OR operand, which can be implemented via the | symbol. The following pattern would find either "Payment Terms and Conditions" or "Conditions de paiement" in the text: (Payment Terms and Conditions)|(Conditions de paiement)

    If you want to also extract whatever follows the text, you might want to add some wildcards at the end, such as in this pattern: ((Payment Terms and Conditions)|(Conditions de paiement)).*

     

    Here's what the action should look like with the regular expression toggle enabled and the pattern:

    Agnius_0-1689395242338.png

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution.
    If you like my response, please give it a Thumbs Up.

    If you are interested in Power Automate, you might want to follow me on LinkedIn at https://www.linkedin.com/in/agnius-bartninkas/

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard