R: strip ALL HTML tags in a page so only the text
| From: | Ouster | Date: | Wed, 05 Sep 2001 20:08:08 +0000 |
| Subject: | R: strip ALL HTML tags in a page so only the text | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-66099@lists.php.net to get a copy of this message | ||
I think the best way is to use regular expressions.
Erik <erik@vanhoudt.nl> wrote in message
20010905202927.79639.qmail@pb1.pair.com...
> I'm develloping a mail application, wich sends single part e-mail with
PHP.
> for users who want the text version, I want to strip the HTML version and
> send what's left (plain text) to them.
>
> Can anybody tell me the best way to do this, I mean stripping all teh HTML
> tages with PHP.
>
>
> Thanx
> Erik
>
>