验证email的正则表达式
$reg = '/^[a-z0-9A-Z]([a-z0-9]*[-_\.]?[a-z0-9]+)*@([a-z0-9]*[-_]?[a-z0-9]+)+[\.][a-z]{2,3}([\.][a-z]{2})?$/i';
验证email的正则表达式
$reg = '/^[a-z0-9A-Z]([a-z0-9]*[-_\.]?[a-z0-9]+)*@([a-z0-9]*[-_]?[a-z0-9]+)+[\.][a-z]{2,3}([\.][a-z]{2})?$/i';
转载于:https://my.oschina.net/zhangdapeng89/blog/38964