[COOK-4740] Add regex validation to task name