RE: [PHP] ereg-replace ... how to catch :'( [crying smiley] ???

From: Date: Wed, 14 Apr 2004 13:45:21 +0000
Subject: RE: [PHP] ereg-replace ... how to catch :'( [crying smiley] ???
Groups: php.general 
Request: Send a blank email to php-general+get-183313@lists.php.net to get a copy of this message
[snip] :&#039;( :&#039;-( this causes the entire message to disappear: $text = ereg_replace(':&#039;-?(','<img src="'.$smiley_path.'/crying.gif" alt=":&#039;(" width="25" height="15" align="absmiddle">',$text); [/snip] Have you tried any of the other regular expression functions available?

« previous php.general (#183313) next »