Regex advice - replace reoccurring strings in javascript

Hi all,

Does anyone know how to use regex with javascript to replace a reoccurring pattern in a string?


I have tried all kinds of replace patterns but I can't get it to work. The above example is just a simple cut down version of the string but the idea is there.

Thanks for everyones help as always :slight_smile:

Hi @bg1900 ,

What is the pattern? It’s always those 4 β€˜tags’?

Anything between a β€˜<β€˜ and β€˜>’ is what I am trying to remove.


worked it out! For those interested: