note 26952 deleted from function.ereg-replace by tularis

From: Date: Sun, 29 Aug 2004 12:18:15 +0000
Subject: note 26952 deleted from function.ereg-replace by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-75565@lists.php.net to get a copy of this message
Note Submitter: WebMaster at RelentForNoOne dot com ---- If you want to strip HTML from a string completely, i.e.: $str = "<table width="100%"><tr><td>something</td></tr></table>"; *to* $str = "something"; then consider this: $str = ereg_replace("<([^>]+)>", "", $str);

« previous php.notes (#75565) next »