in reply to Stripping HTML tags with Regular Expressions.
A few comments:
- Regexes and HTML don't like each other
- CPAN is our valued friend. Make it your friend too, will
save you lots of time.
- eg, see HTML::Parser
- see also 7 Stages of Regex Users
- Please don't use this: s/<[^>]*>//g as it
is a very bad idea. See previous point.