Your code does indeed work.
However, I'm reading the Details sections of the Match Pattern help page, and I don't understand
what the regex <[^>]*> means? I can't decipher it from the Match Pattern Details page.
On the other hand, I've used Perl alot in the past, so <.*?> is more natural for me.
mlewis