Re: Regex to erase HTML tags
| From: | Bojan Gajic | Date: | Mon, 27 Nov 2000 17:43:52 +0000 |
| Subject: | Re: Regex to erase HTML tags | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27409@lists.php.net to get a copy of this message | ||
strip_tags()
regards,
bojan
rodrigo wrote:
> I wrote a small function to erase all the html from text in a variable.
> I had to write to regex to do it. I am sure there is a way to do it in
> one line.
>
> Anyone know how to do it?
> --
> ************************************
> Ivan R. Quintero E.* (507)228-3477
> Aptdo 1263 * (507)228-9105
> Balboa, Ancon *
> Republic of Panama *
> ************************************
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net