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 / Crop text with multipl...
Power Automate
Unanswered

Crop text with multiple possible start flags

(0) ShareShare
ReportReport
Posted on by 8

I am trying to extract the text between F1 and Rep, the integer. 

 

The issue is that due to the resolution of the screen the flow runs on, sometimes the 'F1' can be 'FI' or 'Fl'

'Rep Events' seems to be consistent.

 

kngmkr_0-1679703924566.png

kngmkr_1-1679704185023.png

 

I want to do something like this, but this doesn't work.

 

kngmkr_2-1679704207988.png

 

Any ideas?

 

 

I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @kngmkr 

     

    To extract the text, i would suggest to try the Parse text action

     

    Nived_Nambiar_0-1679710609837.png

     

    This is how i tried

    Input string

    Nived_Nambiar_1-1679710655527.png

     

    Parse text

    Nived_Nambiar_2-1679710672498.png

     

    Regular expression: (?<=F.)[\S\s]+(?=Rep Events in Selected)

     

    Displaying the message after trimming the Match variable

    Nived_Nambiar_3-1679710722929.png

     

     

    Output got:

    Nived_Nambiar_4-1679710744199.png

     

    Hope it is clear

    Mark it as solution if it helped you in resolving the issue 🙂

     

  • Riyaz_riz11 Profile Picture
    4,150 Super User 2026 Season 1 on at

    Hi @kngmkr ,

    As Nived told  as you can use Parse text and pass the regex so whatever matching you can able to get it.

     

    Regards

    Ahammad Riyaz

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

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 632

#2
Haque Profile Picture

Haque 458

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard