I need to validate a password that matches the following criteria:
Try:
^(?=.*\d)(?=.*[a-zA-Z]).{8,}$
See it @work
simple not most efficient way:
^[a-zA-Z0-9!.-_]{8,}$
Replace !.-_ with the list of special characters you'd like to allow
!.-_