in reply to shameful reg expression

Check out HTML::TreeBuilder. You should never try to do this with a single regexp, you want a parser.

Also before you post you should:
  • use search... this would have answered your question many times over (and faster)
  • read Before you post...


  • UPDATE: Just for laughs I did a search on HTML Parse - 2390 posts all pretty much telling you the same as we're saying here.

    grep
    grep> rm -f /bin/laden