eregi_replace multiple words

From: Date: Sat, 22 Jul 2000 16:15:11 +0000
Subject: eregi_replace multiple words
Groups: php.general 
Request: Send a blank email to php-general+get-7695@lists.php.net to get a copy of this message
Is there a way to have eregi_replace replace more than one word or character? <? $string1 = "I want to remove some of these words!!!"; $string2 = eregi_replace("words want remove", "***", $string1); print "$string2"; ?> I want something like that. I know that won't work. Anybody know how to do this? Thanks, Tyler

« previous php.general (#7695) next »