> "MT" == Martin Thoma <[EMAIL PROTECTED]> writes:
> Hello ! How can I use eregi_replace to replace every ">" with
> ">", except when it's "" ??
You need a lookbehind assertion...
$string = preg_replace( '/(?/i', '>', $string );
-robin
--
Robin Vickery.
Hello !
How can I use eregi_replace to replace every ">" with ">", except
when it's "" ??
Martin
--
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 P
2 matches
Mail list logo