Re: remove html tags in text?
| From: | Stut | Date: | Thu, 11 May 2006 15:54:29 +0000 |
| Subject: | Re: remove html tags in text? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-235991@lists.php.net to get a copy of this message | ||
Bing Du wrote:
Say, if I have a paragraph like this: == <h1>John Smith</h1> Dr. Smith is the directory of <a href="http://some.center.com">Some Center</a> . His research interests include <b>Wireless Security</b>.... == Any functions that can help remove all the HTML tags in it? What about just removing selected tags, like <b></b>? Thanks in advance for any ideas,Here's a novel idea for you... RTFM: http://php.net/strip_tags -Stut