I'd say that rolling your own solution when it comes to HTML parsing is almost always the wrong decision.
In reply to Re^3: regex in perl by marto in thread regex in perl by bigup401