note 5997 deleted from eregi_replace by ronabop
| From: | ronabop@php.net | Date: | Sat, 12 Aug 2000 21:01:45 +0000 |
| Subject: | note 5997 deleted from eregi_replace by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1548@lists.php.net to get a copy of this message | ||
I'm having the same problem as bmueller@creotech.com had. I am trying to make part of a string
bold using
<PRE>$string = eregi_replace ("abc" "<B>acb</B>", "This
AbC line and some more ABC and abc and Abc and aBc");</PRE>
The prolem is that I don't want to replace all occurence of ABC to abc. I'd like to keep
the original occurence in his original case. Is there is way to do this?