note 8361 deleted from ereg_replace by torben

From: Date: Fri, 08 Sep 2000 02:35:02 +0000
Subject: note 8361 deleted from ereg_replace by torben
Groups: php.notes 
Request: Send a blank email to php-notes+get-4476@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.

« previous php.notes (#4476) next »