12-08-2016
|
|
Miembro
|
|
Registrado: may 2008
Ubicación: Bogotá
Posts: 527
Reputación: 17
|
|
Hola: Tomada de ~ RegEx to make sure that the string contains at least one lower case char, upper case char, digit and symbol - StackOverflow
Código:
^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*(_|[^\w])).+$
... o también
Código:
^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*(_|[-+_!@#$%^&*.,?])).+$
-
__________________
"constructive mind, destructive thoughts"
|