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

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 2026 Season 1 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 Moderator 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

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 293

#2
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 223 Most Valuable Professional

Last 30 days Overall leaderboard