> > I have this bit of text: > > (\(EX\) RV-6 ) > > > > I want to remove the '\(EX\)' part of it > > so leaving just: ( RV-6 )
$text = '(\(EX\) RV-6 )';
$str = str_replace('\(EX\)','',$text);
As Burhan put it, regex is not always the solution to your problem -
in most cases, using regex for this kind of operations will just hog
your scripts.
--
Kim Christensen
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

