why not use HTML::TokeParser...
its better to use that as it extracts HTML string exactly as you want....
just type HTML::TokeParser in google and the first (or maybe second) link would be to the perl monks tokeparser tutorial...
"just keep it simple, stupid" :)
=====================================================
i'am worst at what do best and for this gift i fell blessed...
i found it hard it's hard to find well whatever
NEVERMIND