* Thus wrote Dave Carrera ([EMAIL PROTECTED]):
> $text2 = preg_replace("/]+>.*?<\/script>/is","",$text2);
>
> Leaves output with "language="javascript" blah blah
I tested that and it strips the script tags with "language" too. I
do know that it will not strip script tags that have no attributes:
$text2 = preg_replace("/]+>.*?<\/script>/is","",$text2);
Leaves output with "language="javascript" blah blah
Dose anyone know of a pattern that will get rid of ALL javascript from a
string.
Thank you for any help
Dave Carrera
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-viru
2 matches
Mail list logo