note 30811 deleted from function.preg-replace by didou
| From: | didou@php.net | Date: | Sat, 17 May 2003 16:38:23 +0000 |
| Subject: | note 30811 deleted from function.preg-replace by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-48178@lists.php.net to get a copy of this message | ||
Note Submitter: tilli@tillis.de
This does a pretty good job of stripping HTML tags
preg_replace ("/<\/*((\w+)|(\s)|[=\"])+>/i", "", $string);