정규표현식

regular expression of email 이메일 검증을 할 때 다음과 같은 정규표현식을 이용하여 검증한다. var mailformat = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/; 해당 구문의 의미는 다음과 같다. The two forward-slashes /.../ contains a regexe. The leading ^ and trailing $ match the beginning and the ending of the input string, respectively. That is, the entire input string shall match with this regexe, instead of a part of the input string..
squareyun
'정규표현식' 태그의 글 목록