Expression |
(^([A-Za-z])([-_.\dA-Za-z]{1,10})([\dA-Za-z]{1}))(@)(([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})|(([\dA-Za-z{1}][-_.\dA-Za-z]{1,25})\.([A-Za-z]{2,4}))$) |
Description |
v allow Symbol [(_) (-) (DOT)] (number) (a-z and caps), X disallow symbol&number at begining (avoid bad sorting database, including bad subdomain name (1.example.com) & fake email) and ending (before "@") & other symbols are disallowed;
username min,max/maxout = 2, 25/27
--- must exist "@" ---;
after "@" :
FOR DOMAIN NAME :
v Symbol [(_) (-) (DOT)] (number) (a-z and caps), X symbol at begining and ending (including before top level domain extension)
v a-z (with/out caps) total min=2 max 4 in top level domain extension
NOT SUPPORTED PORT NUMBER, if you the administrator ? self edit the database, DONT give user a chance for adding port number.
maximum 25 address length ;
OR standard IP ADDRESS.
WHITE SPACE IS NOT SUPPORTED. |