Forum Discussion
SocInABox
Dec 15, 2021Iron Contributor
Logic app search replace function usage example?
Can someone please give me an example function for search and replace? I'm using html in the sentinel 'add comments' operator and I'm seeing lots of \n characters. I want to remove them all so they ...
- Dec 15, 2021
hi SocInABox
Not sure if it's the same, but, I've feced something similar with an HTML table where I wanted to include a hyper link using <a href> and Logic App replaced those chars.
What I did was process the HTML content before using it (Send Email) as an expression
replace(replace(variables('email_html'), '<', '<'), '>', '>')Maybe my scenario is simplier than the one you have but hope it helps
cmaneiro
Microsoft
hi SocInABox
Not sure if it's the same, but, I've feced something similar with an HTML table where I wanted to include a hyper link using <a href> and Logic App replaced those chars.
What I did was process the HTML content before using it (Send Email) as an expression
replace(replace(variables('email_html'), '<', '<'), '>', '>')
Maybe my scenario is simplier than the one you have but hope it helps