web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Parse HTML & extract i...
Power Automate
Unanswered

Parse HTML & extract information

(0) ShareShare
ReportReport
Posted on by 124

Hey!

 

I am trying to parse HTML content & extract all the image SRC, not able to find any actions to parse HTML & extract information from a HTML element & its attribute. In below example there are three images with src, would have to extract ImageURL1,ImageURL2,ImageURL3. 

 

<html>
<body>

<h2>HTML Image</h2>
<img src="ImageURL1" alt="Trulli" width="500" height="333">
<p>some text</p>
<img src="ImageURL2" alt="Trulli" width="500" height="333">
<img src="ImageURL3" alt="Trulli" width="500" height="333">
</body>
</html>

 

The HTML will be received in a email. The HTML given above is simple but it will be complex HTML with n no of images. If there is no other way to extract using standard action I am planning to write an Azure function to parse the HTML using NewtonSoft HTML parser. Would be great if someone provides some insights.

Categories:
I have the same question (0)
  • Jay-Encodian Profile Picture
    2,920 on at

    Hi @ashiqf 

    If you wanted to avoid code, Encodian provide a regex search action which should help: https://support.encodian.com/hc/en-gb/articles/360006764638-Search-Text-Regex

    Quick example:

    12.jpg

    You'd need to tweak the regex slightly if you purely wanted the content inside the attribute, but this would work.

    HTH

    Jay

  • ashiqf Profile Picture
    124 on at

    Thanks for your insights @Jay-Encodian but it would have been great if there is a first party connector or action from Microsoft. 

  • Jay-Encodian Profile Picture
    2,920 on at

    Hey @ashiqf 

    Microsoft don;t cover all scenarios, that's why the Power Automate Ecosystem provides so many third party connectors.

    Jay

  • ashiqf Profile Picture
    124 on at

    I agree, MS won't provide everything. Microsoft is currently reviewing the user voice request for Regex, hopefully they might support this in future

    https://powerusers.microsoft.com/t5/Power-Automate-Ideas/Support-for-regex-either-in-conditions-or-as-an-action-with/idi-p/24768

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard