http://qs321.pair.com?node_id=202506


in reply to Re: Parsing HTML tags with regex
in thread Parsing HTML tags with regex

...and once you're tired of it, check out HTML::TableExtract, which was practically written with your exact problem in mind :-)

HTH,

Tim

Update: Okay, I'm lazy, I didn't post the code to actually do the job (mainly because I think it really is that trivial). But the wonderful blakem submitted this node to another thread describing what I was thinking. So go upvote him instead :-)