I want to force the user to enter any combination of the following words. the words need to be comma delimited and no comma at the beginning or end of the string the user should only be able to enter one of each word.
Examples
admin
basic,ectech
admin,ectech,advanced
basic,advanced,admin,ectech
my attempt
^((basic|advanced)|admin|ectech)((,basic|,advanced)|,admin|,ectech){0,2}$
Thanks Marc