I want a regular expression to check that:
A password contains at least eight characters, including at least one number and includes both lower and uppercase letter
Use the following Regex to satisfy the below conditions:
Conditions:
Regex:
/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[#$@!%&*?])[A-Za-z\d#$@!%&*?]{8,30}$/