note 25565 rejected from function.str-replace by betz
| From: | betz@php.net | Date: | Fri, 27 Sep 2002 21:05:50 +0000 |
| Subject: | note 25565 rejected from function.str-replace by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-37344@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)