in reply to Extracting similar data from html

In a post here I listed some of the top 5 most-used Perl modules for parsing HTML.

I think you will find that using CPAN's HTML modules will be your best bet, rather than using regular expressions to parse out the sample HTML you posted.