You should be able to do it with submatches but you still need a loop to loop through the submatches.
Code:
^([^-]*)-([^-]*)-([^-]*)-([^-]*)$
or
Code:
^(\w*)-(\w*)-(\w*)-(\w*)$
It's been a while since I've used Regex in AMX Mod X so I can't remember for sure if you can use submatches.
__________________