if(preg_match('/^[\w-]+@[\w-]+(\.[a-zA-Z]+)?\.[a-zA-Z]{2,3}$/','ajsdfaio_d@sinacom.cn')){ echo 'ok';}else{ echo 'no';}
原文链接:https://www.f2er.com/regex/358844.htmlif(preg_match('/^[\w-]+@[\w-]+(\.[a-zA-Z]+)?\.[a-zA-Z]{2,3}$/','ajsdfaio_d@sinacom.cn')){ echo 'ok';}else{ echo 'no';}
原文链接:https://www.f2er.com/regex/358844.html