728x90
[ 로그인시 패스워드 유효성 체크 하는 방법 ]
if not match(newpw, "[a-zA-Z0-9!@#$%^&*]") then
messagebox("알림","비밀번호는 숫자,문자, 특수문자 조합입니다(!@#$%^&*)!!!" + newpw)
dw_pw.setfocus()
dw_pw.setcolumn("changepw")
return
else
if not match(newpw,".*[a-zA-Z]") or
not match(newpw,".*[0-9]") or
not match(newpw,".*[!@#$%^&*]") then
messagebox("알림","최소 하나의 숫자와 문자, 특수문자(!@#$%^&*)가 포함되어야 합니다!!!" + newpw)
dw_pw.setfocus()
dw_pw.setcolumn("changepw")
return
end if
end if
728x90