Added field validation using regular expressions