use filter_var instead of regex to validate email