Add tags validation option

Validate the tags by a given pattern on submit.