Answers for "regular expression html tag remove"

2

regex remove html tags

const s = "<h1>Remove all <b>html tags</n></h1>"
s.replace(new RegExp('<[^>]*>', 'g'), '')
Posted by: Guest on June-24-2020
0

regex remove html tags

String target = someString.replaceAll("<[^>]*>", "");
Posted by: Guest on March-31-2020

Code answers related to "regular expression html tag remove"

Code answers related to "Javascript"

Browse Popular Code Answers by Language