Sample <.*> Matches less than any number, including more than, and then more. This template could, for example, match the full HTML file ...
What you need is <[^>]+> [^>] - this is the set of all characters excluding more than + , "one or more", so the whole thing corresponds to less than one or more of anything other than the larger, and then more than.
source share