You can use ([^>]*?)> pattern. The expression in parens basicaly says “capture everything that is not a > and stop on first >”

The *? quantifier differs to simple * by being non-greedy i.e. it will stop on first match, not the last one which is better in your case.

You have to learn how to deal with capturing groups. You don’t need to use InStr to post-process your regex results — this looks silly provided you already have the power of regex at your disposal (VB’s string processing functions are puny in comparison).