preg_replace question

From: Date: Thu, 09 Sep 2004 23:12:46 +0000
Subject: preg_replace question
Groups: php.general 
Request: Send a blank email to php-general+get-196269@lists.php.net to get a copy of this message
Hi Sorry for issuing this again, but I need help with preg_replace. I manage to replace certain text between <b></b> in text with preg_replace but I want for every other <b></b> to be replaced by other text. By this I mean when some text between <b></b> has been found that text is replaced with some Text, on second match, text between <b></b> is replaced by some other different text etc. Btw, where I can find patterns that are valid? (something like (\w+), (\d+)+i etc. Thanks. Regards. Zoran

« previous php.general (#196269) next »