This regex will validate your password
To be stronger, the password must be contain:
- At least 8 characters
- At least 1 number
- At least 1 lowercase character (a-z)
- At least 1 uppercase character (A-Z)
- At least 1 special character (! @ # $)
I hope I've helped :)