Answers for "strip_tags() vs h() javascript"

1

js strip_tags

let strippedString = originalString.replace(/(<([^>]+)>)/gi, "");
Posted by: Guest on October-08-2020
1

strip html tags javascript

originalString.replaceAll(/(<([^>]+)>)/gi, "")
Posted by: Guest on April-15-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language