Trying to parse HTML with regular expressions is generally a bad idea. It'll seem to work for a while until someone sends you some valid HTML that you haven't thought about.
The best way is to use an HTML parser like, for example HTML::Parser.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: Substitute within a search
by davorg
in thread Substitute within a search
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |