Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Extracting a specific part of a string of text

(0) ShareShare
ReportReport
Posted on by 28

Hello,

 

I have a random string of text that I've converted from HTML to Text. I need to create an expression that pulls the 8 characters after the word Request Number: . The part that is tricky is that it is not always predicable what will be within the body of the email, but the Request number will always be right after the colon.

 

********************TEST PURPOSES ONLY. NO CHANGES
REQUIRED********************** Thank you for submitting a label request form.
Save the attached form for your own records. Request Number: 5DAE08C0
Resubmission of Label Request Form: No Date Created: 10/21/2019 Release Date: 12/05/2019**********

  • djean64 Profile Picture
    28 on at
    Re: Extracting a specific part of a string of text

    Thank you! It worked like a champ!

  • Verified answer
    Ed Gonzales Profile Picture
    4,531 Most Valuable Professional on at
    Re: Extracting a specific part of a string of text

    @djean64 

    Timely question.  Check out the Flow of the Week that came out today.  You could use the Split() function, and split on 'Request Number: ' and then split the second element on whatever comes after the number (space?).

     

    Keep us posted.

    -Ed-

     

    If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1