www.gusucode.com > DEDECMS精简版 织梦CMS系统企业精简版 v3.0.1.2源码程序 > cloudcms_v3.0.1.2/include/helpers/validate.helper.php
<?php if(!defined('DEDEINC')) exit('dedecms'); if ( ! function_exists('CheckEmail')) { function CheckEmail($email) { if (!empty($email)) { return preg_match('/^[a-z0-9]+([\+_\-\.]?[a-z0-9]+)*@([a-z0-9]+[\-]?[a-z0-9]+\.)+[a-z]{2,6}$/i', $email); } return FALSE; } }