Help with Regex on Set node

Hi,

I need some help with regex on a set node.
As I understand it’s possible but I can’t get it to work :sweat_smile:

I would like to remove the

and

from the beginning and end of the sentence.

Thanks :pray:

Hi @Cizco,

To remove the html tags in the Set node you don’t need to use a regex expression. Simply use the split statement to remove them from the string.

{{$json["properties"].split("<p>")[1].split("</p>")[0]}}

:wink:

2 Likes

Hi @martinhache,

Thank you!
That worked great :grin: