I'm thinking of something like this:
{{#rswitch: STRING | REGEX_1 = RESULT_1 | REGEX_2 = RESULT_2 ... }}
Should be pretty self-explanatory what it's meant to do. The result parts should be able to reference capture groups. Basically, it would be like a bunch of nested rmatch usages.