Add regex expressions for form submission