Custom regex to validate form fields.