s/<(?:[^>'"]*|".*?"|'.*?')+script(?:[^<'"]*|".*?"|'.*?')+>.*?<(?:[^>'" +]*|".*?"|'.*?')+\/.*?script(?:[^<'"]*|".*?"|'.*?')+>/<script><\/scrip +t>/igsx;
Quick 'n dirty. But Ovid's solution is more reliable. Also I totally agree with cLive.
In reply to Re: Removing Javascript
by jacques
in thread Removing Javascript
by Mur
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |