Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

regex to check 8 < length < 16, one uppercase, one lowercase and must have at least one number and one special character

"^(?=.*[a-z])(?=.*[A-Z])(?=.*d)(?=.*[@$!%*?&])[A-Za-zd@$!%*?&]{8,10}$"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #regex #check #length #lowercase #number #special #character
ADD COMMENT
Topic
Name
8+4 =