Jeremy Portzer wrote:
> 
> Does anyone know of a quick-and-dirty regular expression that will strip
> simple HTML tags?  I'm not looking for something that is necessarily
> 100% safe/tested, but something reasonable that will work.  It needs to
> use the regular C regexp set of calls, not Perl extensions.
> 
> For example:  "<em>Bold</em> type" should substitute to "Bold type"

perlish:  s:<[/a-z][^>]*>::gi;
-- 
#ken    P-)}

Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
Author, developer, opinionist      http://Apache-Server.Com/

"Millennium hand and shrimp!"

-- 
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc

Reply via email to