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 / Trim text between the ...
Power Automate
Unanswered

Trim text between the first two similar strings

(0) ShareShare
ReportReport
Posted on by

Hey,

 

Is there any way to extract text between two similar text?

 

****

Title: Sample Title

****

 

*********************

The text I want to extract

*********************

 

some random text

*********************

Not needed

*********************

Categories:
I have the same question (0)
  • jinivthakkar Profile Picture
    4,187 on at

    @Anonymous what is the similar text ? will it be same all the time ? or will be different all the time ?

  • Community Power Platform Member Profile Picture
    on at

    Between those same number of "*" star characters.

     

    It will be about 15 *'s all the time. We want to extract between the first two occurrences 

  • jinivthakkar Profile Picture
    4,187 on at

    @Anonymous see if this works for you:

    here is my flow:

    jinivthakkar_1-1619019511042.png

     

    I split the string with 15* and then extract output as shown.

     

    Hope this helps.

     

    --------------------------------------------------------------------------------
    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.

  • Verified answer
    jinivthakkar Profile Picture
    4,187 on at

    @Anonymous The output after splitting 

     

    jinivthakkar_0-1619020554415.png

     

    and then in next step I extract text ABC 

     

    --------------------------------------------------------------------------------
    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

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard