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 / Modifying output from ...
Power Automate
Unanswered

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

 

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Anonymous 

     

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

     

    Thanks

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    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

  • Community Power Platform Member Profile Picture
    on at

    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

     

  • Verified answer
    abm abm Profile Picture
    32,865 Most Valuable Professional on at

    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

    The video helped great. Thank you so much!

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard