----- Original Message -----
From: "Phil Ewington" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent: Saturday, August 03, 2002 5:03 PM
Subject: [PHP] RegEx (back referencing)
> regular expressions and cannot seem to get back referencing working. The
> pattern match is successful but the output is a single unrecognised
> character (a square).
> $string = eregi_replace("<(/?)(scr[^>]*)>", "«font
> This results in opening and closing <script></script> tags being replaced
> with a square being wrapped in font tags. I have this working in Cold
> but cannot seem to convert my scripts to PHP. Can anyone help?
> Phil Ewington.
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php