Exact String replace with eregi_replace()

From: Date: Fri, 08 Feb 2002 12:42:15 +0000
Subject: Exact String replace with eregi_replace()
Groups: php.db 
Request: Send a blank email to php-db+get-16667@lists.php.net to get a copy of this message
hi I'm trying to replace the exact match of 'is' with ','.. But all the matches of 'is' in the string gets replaced.... how can i avoid this??? <?php echo ereg_replace ("^is$", ",", "This is a dismissal of windows based technology"); ?> rgds, Desikan -- Desikan desikb4u@fastmail.fm

« previous php.db (#16667) next »