Re: [PHP] Replace everything except of...

2001-03-13 Thread Robin Vickery
> "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.

[PHP] Replace everything except of...

2001-03-13 Thread Martin Thoma
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