asker
0
Q:

regex remove html tags

const s = "<h1>Remove all <b>html tags</n></h1>"
s.replace(new RegExp('<[^>]*>', 'g'), '')
1
String target = someString.replaceAll("<[^>]*>", "");
-1

New to Communities?

Join the community