Can anybody help me with a regex
I am trying to remove everything between <Script ?????>
and </script>
I am using asp and visualscript
replace(/< script.*?>*?< \/script>/ig, '');
This should work (I think) but it is not working for me, any help would be appreciated!
Thanks
Update:
I have done it like this and it now removes < script>content
replace(/< script.?>[\s\S]?< \/script>/ig, '')
but if I have < script language="">content< /script> it does not work? the script is on multilines as well
any ideas?