Skip to main content

Notifications

Community site session details

Community site session details

Session Id : jeVsKNCuAyXv7iinDSLXK8
Power Automate - Building Flows
Answered

Extract link from html tag

Like (1) ShareShare
ReportReport
Posted on 11 Aug 2022 09:32:04 by 188

I need to extract the URL from the below.

 

<a href="https://www.test.ie/idt/testBVMBVZsBTf" target="_blank">View as Trader</a>

 

To get this

 

https://www.test.ie/idt/testBVMBVZsBTf

 

What expression can I use?

 

I tried html to text but that just returns the text part 'View as Trader'.

  • Verified answer
    abm abm Profile Picture
    32,464 Most Valuable Professional on 11 Aug 2022 at 10:09:51
    Re: Extract link from html tag

    Hi @drossi90 

     

    Try the below steps:

     

    image.png

     

    Expression I used above is

     

    split(outputs('Compose'),'"')[1]
     
    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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
stampcoin Profile Picture

stampcoin 125

#2
David_MA Profile Picture

David_MA 122 Super User 2025 Season 1

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 110 Super User 2025 Season 1

Overall leaderboard
Loading started