remove patterns from form fields