3 ms·
Nit: you need to escape the last dot since it matches the domain separator. (Perhaps this proves the need for saner regex syntax?)
by nneonneo 10y ago
Nit: you need to escape the last dot since it matches the domain separator. (Perhaps this proves the need for saner regex syntax?)
- adambowles 10y ago/^[0-9a-z\._%\+\-]+@[0-9a-z\.\-]+\.[a-z][a-z]+$/i