Skip to main content

Notifications

Community site session details

Community site session details

Session Id : m1JktEDkx4qSPWxyOi/I3V
Power Automate - Building Flows
Answered

Help on Flow creation - remove strings from html

Like (0) ShareShare
ReportReport
Posted on 9 Sep 2022 08:33:24 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 09 Sep 2022 at 14:06:14
    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 09 Sep 2022 at 09:21:10
    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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,786 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,093 Most Valuable Professional

Leaderboard
Loading started