Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

regex from 5 to 30 1 number 1 lower case and 1 upper case letter

<input #password="ngModel" type="password" name="password"  minlength="5" maxlength="30" pattern="((?=.*d)(?=.*[a-z])(?=.*[A-Z]).{6,20})" required ngModel>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #regex #number #case #upper #case #letter
ADD COMMENT
Topic
Name
4+2 =