set RegEx to validate in the form