note 25565 added to function.str-replace

From: Date: Fri, 27 Sep 2002 20:49:12 +0000
Subject: note 25565 added to function.str-replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-37342@lists.php.net to get a copy of this message
Hi, can we replace a html tag with nothing ? example : <h4>string</h4> replace with : [nothing] i try : $str= ereg_replace( "<h4>(.*)</h4>", "",$str); but they cut my whole text thanks (reply by email if possible) -- http://www.php.net/manual/en/function.str-replace.php http://master.php.net/manage/user-notes.php?action=edit+25565 http://master.php.net/manage/user-notes.php?action=delete+25565 http://master.php.net/manage/user-notes.php?action=reject+25565

« previous php.notes (#37342) next »