in reply to RE: Re: looking for a regexp
in thread looking for a regexp

Uh, no. This incorrectly stops on
<hello there="inside > foo">

That's not _simple_ HTML anymore. :) Packages are better (as I suggested), but sometimes you need a quick script for a simple task and you don't want to have to learn a package to do it.