Re: Regex to erase HTML tags

From: Date: Mon, 27 Nov 2000 19:03:09 +0000
Subject: Re: Regex to erase HTML tags
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-27426@lists.php.net to get a copy of this message
Sure: strip_tags($string_with_html_in_it); http://www.php.net/manual/function.strip-tags.php --Joe On Mon, Nov 27, 2000 at 11:57:26AM -0800, 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 ================================================================================ = Joe Stump joestump98@yahoo.com http://www.miester.org = ================================================================================ Need a programmer? http://www.google.com/search?q=joe+stump+resume

« previous php.general (#27426) next »