preg_match("/^([a-zA-Z0-9]+)[\.\-]?[a-zA-Z0-9]+@[a-zA-Z0-9]+\.(net|com|gov|mil|org|edu|int)(\.cn)?$/",$email) 转载于:https://blog.51cto.com/phptest/210824