Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Modifying output from a compose action

(1) ShareShare
ReportReport
Posted on by

I have a flow setup that extracts a link from an email, and i am stuck at this point. I need to remove a blank line, the [ , then keep the link, and remove the ] , and the remaining blank spaces. The compose action outputs stuff i need to get rid of, then the link, then the stuff i need to get rid of. Is there a way to remove everything before (as well as) "[" and everything after (as well as) "]".

I would prefer to keep this action as-is, and add a next action that removes this content (everything before and "[") as well as (everything after and "]")

 

Much appreciated!

 

PeterZigante_0-1660146991606.png

 

  • Community Power Platform Member Profile Picture
    on at
    Re: Modifying output from a compose action

    The video helped great. Thank you so much!

  • Verified answer
    abm abm Profile Picture
    32,506 Most Valuable Professional on at
    Re: Modifying output from a compose action

    Hi @Anonymous 

     

    I have made a tutorial video about this. Please have a look and comment.

     

    https://youtu.be/ceO1HYwqMn4

     

    Thanks

  • Community Power Platform Member Profile Picture
    on at
    Re: Modifying output from a compose action

    So i would have a second compose action that would have the replace expression, how would it read?

    PeterZigante_1-1660150201633.png

     

     

     

     

    PeterZigante_0-1660149991243.png

     

  • abm abm Profile Picture
    32,506 Most Valuable Professional on at
    Re: Modifying output from a compose action

    Hi @Anonymous 

     

    Also to remove the blank line add a Compose action step press Enter. The use the replace() expression to remove the blank line using the delimiter as output from Compose step.

     

    Thanks

  • abm abm Profile Picture
    32,506 Most Valuable Professional on at
    Re: Modifying output from a compose action

    Hi @Anonymous 

     

    You can use the replace() expression to remove the specified characters. Believe you want to extract the URL only?

     

    Thanks

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