in reply to Parsing HTML

Sure, there are many better ways (see CPAN modules).
But in this case you have to use non-greedy match:
(.*?)