Use a less restrictive client regex validator
Closed this issue · 0 comments
bizz84 commented
The existing validator may be too restrictive:
^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+){1,2}$
This article covers in great detail how to approach email validation:
https://dev.to/jerodsanto/there-s-only-one-way-to-validate-an-email-address-4i3k
If a client regex should be used, this would work better:
^\S+@\S+\.\S+$