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 / Help on Flow creation ...
Power Automate
Unanswered

Help on Flow creation - remove strings from html

(0) ShareShare
ReportReport
Posted on by 2

Hello,

I am buidling a flow, to extract an attachment from email and save it to a sharepoint folder.

So far so good !

But I'm struggling for next steps, this attachment is a htm file, I want to automatise :

- open this file in html

- remove these strings : </table> <table

- save the file in html

 

Could you help me please ?

Regards

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    on at

    Hi @dadb25 ,

     

    You can use get file content to get its html label and you can use replace functfion to remove the strings.

    vxiaochenmsft_0-1662715250168.png

    replace( replace(outputs('Get_file_content')?['body'],'<table>',''),'</table>','')
     
    Best Regards,
    Wearsky
  • 3tsolutions Profile Picture
    94 on at

    Hi,

    I've made a Flow to convert an HTML text to a plain text ,

    and separates the contained text with a delimiter of your choice.

    I hope it will be of help to you

    LINK 

     

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard