Plugin to validate form elements using regular expressions