| 
 | 
The period symbol matches all characters, including spaces, tab characters, and even newlines. 
Hyphen ("-") It represents a range. 
Therefore, to match these two characters, use "\" to escape 
The proper expression can be 
eregi ("^ [_\.0-9a-z-] + @ ([0-9a-z] [0-9a-z-] +\.) + [az] {2,3} $", 'luan78zao @ hotmail.com ', $ validated); |   
 
 
 
 |