Hi, Can you make a construct like below? Match the second argument within a match statement. Or are there a switch statement that can be used? <macro name="voicemail_message_count"> <input pattern="^(1):(.*)$"> <match> <input pattern="(.*):(new)$"> <match> </match> </input> <input pattern="(.*):(saved)$"> <match> </match> </input> <input pattern="(.*):(urgent)$"> <match> </match> </input> </match> <nomatch> </nomatch> </input> </macro> Best Regards Jakob