var mb_id = "test가123";


var re = /^[a-zA-Z0-9]+$/; 

if (!re.test(mb_id)) {


alert("숫자와 영문자만 입력해 주십시오");

}

블로그 이미지

엘로드넷

,