This regex looks for the minimum match in each group but includes the delimiter (which is later stripped) from the submenus and looks for an empty variable:
I should probably add that if you are actually looking for a Menu option, you might prefer to use the If-Then-Else action's Menu condition, which lets you check for an enabled Menu option of a specific name.
Understood. I've used that technique with other macros. In this case, all the menu items are available and enabled. I have to use different actions for the 2 tier as opposed to the 3 tier menu selection. Your regex guidance made my macro work perfectly.