note 69909 deleted from function.ereg-replace by colder

From: Date: Tue, 26 Sep 2006 12:00:47 +0000
Subject: note 69909 deleted from function.ereg-replace by colder
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-117678@lists.php.net to get a copy of this message
Note Submitter: red at redworld dot ru Reason: useless ---- A quick hack to get rid of HTML from a block of text $body = ereg_replace('<[^>]+>','',$body); Much tidier than the preg_replace() version.

« previous php.notes (#117678) next »