Open heronyang opened 7 years ago
We should do simple validating on the email input using regular expression.
Refer to this (javascript one):
/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/
We should do simple validating on the email input using regular expression.
Refer to this (javascript one):