in reply to regexp problem
Parsing HTML using regular expressions is a really bad idea. It will almost always end up with over-complex regexes which deal with all sorts of unlikely scenarios.
Much better to use the right tool for the job - HTML::Parser (or, in this case it looks like HTML::LinkExtor might be a better bet).
--Perl Training in the UK <http://www.iterative-software.com>
|
|---|