in reply to Multi-Line Regex's

Hi,

I speak from personal experience when I say if I were you I'd avoid the regex's for this problem entirely and use some kind of HTML extraction module instead - makes it a lot easier and you don't need to worry about multi-line elements.

Try looking up HTML::Parser, HTML::TokeParser, HTML::TagFilter, HTML::TokeParser::Simple or something similar

HTH,
Neil