http://qs321.pair.com?node_id=658456


in reply to Excluding groups of characters in regular expressions

That kind of thing is pretty hard with regexes so people usually recommend using a real parser like HTML::Parser
  • Comment on Re: Excluding groups of characters in regular expressions