could someone help me to create a posix regex which checks if the entered string follows the following pattern:
Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
Or
Monday, Wednesday, Friday
Or
Sunday
Then:
- Days of the week followed by ", "
- I can't repeat a day of the week
- The last day of a string must not have ", "