cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

replace expression to replace css style and escape characters

The following expression is not working on a body of html

 

replace(items('Posts')?['Body'],'margin:5px;','width:600px;')
 
If I get rid of the special characters as a test, I can replace margin with width successfully. But no combination of escaping is working to replace the entite margin string. Is there a reference for special characters and escaping them? I can't find anything.
1 REPLY 1
Highlighted
Community Support
Community Support

Re: replace expression to replace css style and escape characters

Hi @xmarcus,

 

According to your description, I assume that you could try to combine skip and split function to see if it will meet your request.

 

More details about the functions at here:

https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#s...

 

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (4,773)