web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Remove the Text betwee...
Power Automate
Answered

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 176 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 96 Super User 2026 Season 1

Last 30 days Overall leaderboard