ereg_replace and strings with "

From: Date: Mon, 20 Nov 2000 03:18:03 +0000
Subject: ereg_replace and strings with "
Groups: php.general 
Request: Send a blank email to php-general+get-26185@lists.php.net to get a copy of this message
hi, I am trying to search and replace some text with another. I am trying to use ereg and ereg_replace but I got stucked in a problem : how do I specify that the string it should find/replace should have double quotes (") somewhere in the middle of it? For ex. original test = my test was "ok" but I did not complete it. I want to replace "ok" (with the quotes) with another thing. Using \" in the search string did not work. thanks. __________________________________________________ Do You Yahoo!? Yahoo! Calendar - Get organized for the holidays! http://calendar.yahoo.com/

« previous php.general (#26185) next »