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 / Extracting multiple UR...
Power Automate
Unanswered

Extracting multiple URLs from html body

(0) ShareShare
ReportReport
Posted on by 2,563

Getting my data from an enhanced multi string column in SharePoint. This column contains hyperlinks.

What I want to do is extract the URL's and convert them into markdown links that is supported by Teams Adaptive cards.

 

For Hyperlinks to work and display correctly in a Teams Adaptive card the following format is needed.

[I'm an inline-style link](https://www.google.com)

This is an sample of the data I get out today, where I need to extract the URL's and the title and format it to the Teams Adaptive cards markdown for links.

 

Sample data

<div class="ExternalClassB78FACFB4D354E9989D997809F5C160A"><a href="/&#58;u&#58;/r/sites/DEMO/Illustrations/150Hz_modulation_predominant.svg?csf=1&amp;web=1&amp;e=6QhPSU" title="Link to file 1"><span style="color&#58;rgb(255, 255, 255);">​</span>Link to file 1</a></div><div class="ExternalClassB78FACFB4D354E9989D997809F5C160A"><div style="margin-top&#58;14px;margin-bottom&#58;14px;"><a href="/sites/DEMO/Illustrations/150Hz_modulation_predominant.svg" title="Link to file 2">Link to file 2</a><p><br></p><div style="margin-top&#58;14px;margin-bottom&#58;14px;"><a href="https&#58;//www.google.com/" title="Link to file 3">Link to file 3</a><br></div><a href="/sites/DEMO/Illustrations/150Hz_modulation_predominant.svg" title="Link to file 2"></a></div><a href="/&#58;u&#58;/r/sites/DEMO/Illustrations/150Hz_modulation_predominant.svg?csf=1&amp;web=1&amp;e=6QhPSU" title="Link to file 1"></a></div>

 

I would like to state that for some reason when links are inside the own tenant power automate removes the https://
https://powerusers.microsoft.com/t5/Building-Flows/Power-Automates-removes-https-on-it-s-own-if-the-link-is-in-your/m-p/1426254

 

Categories:
I have the same question (0)
  • Verified answer
    JimmyW Profile Picture
    2,563 on at

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