on 2/8/02 9:05 PM, Desikan at [EMAIL PROTECTED] appended the following bits to my mbox:
> Actually I want to replace "is" alone from the string and not all the > words that contains is... > > I have tried with "^".$is."$" ---> but yields nothing.... This kind of question really belongs on the PHP General List, since it isn't db related. That said, look at the preg_replace function: <http://www.php.net/manual/en/function.preg-replace.php> And use the "\b" escape in your search string: <http://www.php.net/manual/en/pcre.pattern.syntax.php> Paul <?php while ($self != "asleep") { $sheep_count++; } ?> -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php