Hello,
Can someone plese help to convert the following regex substitution I use in PERL to work for JavaScript.
basically I want to be able to search a form field and change any HTML tags to blank!
how do I go about this?
I have this but it doesn't work
Thanks 1DMF
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
Can someone plese help to convert the following regex substitution I use in PERL to work for JavaScript.
Code:
$desc =~ s/<[^>]*>//gis;
basically I want to be able to search a form field and change any HTML tags to blank!
how do I go about this?
I have this but it doesn't work
Code:
val.replace(/<[^>]*>/g, '');
Thanks 1DMF
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.