note 72679 deleted from
function.preg-replace by nlopess
2007-01-31 07:26:43
Note Submitter: neil at weblator
----
if you need to replace quotes with " in an html
string without ruining the html, try this (thanks to Sergei
at regexadvice.com for the help on the expression):
$string_preg_conv=preg_replace("/"(?=[^<>]*
<)/",""", $string);
--
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php