Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

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

  • 3tsolutions Profile Picture
    94 on at
    Re: Help on Flow creation - remove strings from html

    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 

     

  • Verified answer
    v-xiaochen-msft Profile Picture
    on at
    Re: Help on Flow creation - remove strings from html

    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

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1