Re: Stripping HTML tags, but keeping entities...
| From: | @ Edwin | Date: | Wed, 20 Nov 2002 15:57:26 +0000 |
| Subject: | Re: Stripping HTML tags, but keeping entities... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-125249@lists.php.net to get a copy of this message | ||
Hello,
"David Russell" <DavidR@BarloworldOptimus.com> wrote:
...[snip]...
> Strip_tags removes all info after the < sign. Obviously I would like to
> convert it to a > entity, but how can I do both of these?
Have you tried this?
http://www.php.net/manual/en/function.preg-replace.php
- E