Please don't try to use regular expressions to parse HTML. It will generally end in tears.
CPAN has a number of modules that you can use to parse HTML properly. In this case HTML::TreeBuilder looks like it might be your best bet.
--"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
s/Treebuilder/TreeBuilder/ - dvergin 2003-01-02
In reply to Re: Regular Expression
by davorg
in thread Regular Expression
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |