Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 5Sj/H/c4XfSamvIsuv2+TN
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 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard
Loading started