Forum Discussion

SocInABox's avatar
SocInABox
Iron Contributor
Dec 15, 2021

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 ...
  • cmaneiro's avatar
    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'), '&lt;', '<'), '&gt;', '>')
     
    Maybe my scenario is simplier than the one you have but hope it helps

Resources