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 / Remove the Text betwee...
Power Automate
Unanswered

Remove the Text between parts of the Email Body

(0) ShareShare
ReportReport
Posted on by 49

You'll see that I want to remove any/all text/content starting with the Phrase "Emailing about this ad:" up to the Phrase "First Name:"

 

Slide1.jpg

Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    Use the following expression.

     

    first(split(last(Split(outputs('Compose'),'Emailing about this ad:')),'YOU HAVE A LEAD'))

    SudeepGhatakNZ_0-1708462603478.png

     

  • mstjohnsomc Profile Picture
    49 on at

    @SudeepGhatakNZ - Thanks for your feedback. Your result is real-close - what I want is to REMOVE the content such that the rest of the Email Body text. Your result provided the Text that I want to REMOVE!

     

    Using your content example - the result should be

     

    The ad content here

    First Name: Sudeep

  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    Sure, let me try that

     

     

  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    Try the updated expression

    What should the result be based on your example?

    {Email content}

    First Name: John
    Last Name: Smith
    Email: john@jj.com

    Is that right? 

  • mstjohnsomc Profile Picture
    49 on at

    Hopefully my reply is working?

  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    Yes, please answer the last question that I posted.

     

  • mstjohnsomc Profile Picture
    49 on at

    Slide1 1.jpgSlide1 2.jpg

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