php 이메일 검사 정규식 패턴
php를 이용해서 이메일을 검사 하는 정규식 패턴입니다.
// Do not amend anything below here, unless you know PHP
function email_is_valid($email) {
return preg_match('/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i',$email);
}
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기