javascript - Search and replace all elements -
I need a script to attach to the text or if all the texts are present then remove all matched elements Please give it. I tried this: what is wrong there? Thank you.
Try
txt.replaceText (RegExp (elem, " G "), '');
Comments
Post a Comment