Regex to erase HTML tags
| From: | rodrigo | Date: | Mon, 27 Nov 2000 19:57:26 +0000 |
| Subject: | Regex to erase HTML tags | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-27395@lists.php.net to get a copy of this message | ||
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 *
************************************