note 8361 added to ereg_replace

From: Date: Fri, 08 Sep 2000 02:29:22 +0000
Subject: note 8361 added to ereg_replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-4475@lists.php.net to get a copy of this message
to drop common HTML tags <br> $rawhtml = eregi_replace('<[^>]+>', '', $html);<br> remeber use [^>] for non-greedy search;<br> (but it maybe a problem that it also drop <img> and <a href> tags, which maybe a useful infoamtion to get)<br> Thx. http://www.php.net/manual/function.ereg-replace.php

« previous php.notes (#4475) next »