Regexen are generally considered unsuitible for doing work with HTML. They'll work in simple cases, but work incorrectly with the many, many complex cases. You're better off using one of the many HTML parsing modules on CPAN.
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
Note: All code is untested, unless otherwise stated
In reply to Re: Regexp to ignore HTML tags
by hardburn
in thread Regexp to ignore HTML tags
by markhoy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |