Delete workout defs and fixed regex

Can now delete workout definitions from the database, and fixed the
workout definition validation regex. The regex was not escaping the ']'
at the end.