-
패스워드 관련 정규표현식개발 2019. 8. 31. 15:33
Minimum eight characters, at least one letter and one number:
"^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{8,}$"
Minimum eight characters, at least one letter, one number and one special character:
"^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*#?&])[A-Za-z\d@$!%*#?&]{8,}$"
Minimum eight characters, at least one uppercase letter, one lowercase letter and one number:
"^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z\d]{8,}$"
Minimum eight characters, at least one uppercase letter, one lowercase letter, one number and one special character:
"^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$"
Minimum eight and maximum 10 characters, at least one uppercase letter, one lowercase letter, one number and one special character:
"^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,10}$"
'개발' 카테고리의 다른 글
[독서] 5:5:5 코딩 교육 (0) 2019.10.27 Node.js - 비동기 함수에서 순차 처리 (async/await) (0) 2019.06.08 Protopie로 SmartThings 제어 프로토 타입 만들기 (0) 2019.06.07 #1.1 Creating GraphQL Server (0) 2019.05.08 #1.0. Setting up the project (0) 2019.05.07