note 25401 deleted from function.ereg-replace by tularis
| From: | tularis@php.net | Date: | Sun, 29 Aug 2004 12:19:37 +0000 |
| Subject: | note 25401 deleted from function.ereg-replace by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-75568@lists.php.net to get a copy of this message | ||
Note Submitter: cyrilrichert at easyexpat dot com
----
If you want to remove all the tags from a text (because for example you show the results a a search
and you want a clean text...) you can do:
$string= ereg_replace('<[^>]*>','',$string);