Answers for "regex to match password"

5

regex password

^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#\$%\^&\*])(?=.{8,})
Posted by: Guest on May-11-2020
0

regex pattern for strong password

(?=^.{8,}$)(?=.*\d)(?=.*[!@#$%^&*]+)(?![.\n])(?=.*[A-Z])(?=.*[a-z]).*$
Posted by: Guest on October-13-2020

Browse Popular Code Answers by Language