> But I use PCRE functions, so I don't want to use ereg in one place and PCRE
> in another, so I tried:
>
> $file = preg_replace("#<script.*>.*</script>#i", "<!-- RWW: Scripting
> killed -->", $file);

                       '/<script.*>.*?<\/script>/i'

-Rasmus


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to