Parsing HTML with regexen is always hard. I'd suggest that you use HTML::LinkExtor to grab all of the links off of the page, then sort through them looking for the ones you actually want.
The other possibility would be to use HTML::TreeBuilder, but that might turn out to be more complicated. However, I've found that TreeBuilder is a much easier way of thinking about HTML than Parser. Most of the useful documentation for HTML::TreeBuilder is found under HTML::Element, BTW.
perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^+*`^ ve^#$&V"+@( NO CARRIER'
In reply to Re: Extract info from HTML
by Chmrr
in thread Extract info from HTML
by George_Sherston
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |