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 / Parse text regular exp...
Power Automate
Unanswered

Parse text regular expression

(0) ShareShare
ReportReport
Posted on by 77

Hi all, I am using the below regular expression to extract the text between Obligations and Renewal.

(?<=Obligations\s*)[\s\S]*?(?=\s*Renewal)

nicklimcs_2-1714624970151.png

 

 

Now, I would also like to get rid of those highlighted words too. How do I adjust the above code snippet to achieve the result?

nicklimcs_1-1714624794565.png

 

The output should be

nicklimcs_3-1714625124797.png

 

Many thanks

I have the same question (0)
  • VishnuReddy1997 Profile Picture
    2,656 Super User 2025 Season 2 on at

    Hi @nicklimcs ,

     

    When Both Start and End Flag as Static. Instead of Parse text you can you use Crop Text action as shown below.

     

    VishnuReddy1997_0-1714625492275.png

     

    (Note:- if you got your solution you can mark as solution and gives kudos)

     

    Thanks & Regards

    Vishnu Reddy

  • nicklimcs Profile Picture
    77 on at

    @VishnuReddy1997 

     

    Thanks it was a helpful tip.

  • Verified answer
    Deenuji_Loganathan_ Profile Picture
    6,250 Super User 2025 Season 2 on at

    @nicklimcs 

     

    You can use "Replace text" instead of Parse like below to replace the red highlighted text with empty string.

    Deenuji_0-1714632449286.png

    Deenuji_1-1714632477474.png

     

    Deenuji_2-1714632515573.png

     

     

     


    Thanks,
    Deenuji Loganathan 👩‍💻
    Automation Evangelist 🤖
    Follow me on LinkedIn 👥

    -------------------------------------------------------------------------------------------------------------
    If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀

     

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 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard