Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

regex number

/[A-Z]/  : 'must contain one uppercase'

/([a-z])/  : 'must contain one lowercase'

/(d)/  : 'must contain one number'

/(W)/  : 'must contain one special character'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #regex #number
ADD COMMENT
Topic
Name
8+2 =