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: 1] Min 1 special character. 2] Min 1 number. 3] Min 8 characters or More
Regex: ^(?=.*\d)(?=.*[#$@!%&*?])[A-Za-z\d#$@!%&*?]{8,}$ Can Test Online: https://regex101.com
Regex: ^(?=.*\d)(?=.*[#$@!%&*?])[A-Za-z\d#$@!%&*?]{8,}$
^(?=.*\d)(?=.*[#$@!%&*?])[A-Za-z\d#$@!%&*?]{8,}$
Can Test Online: https://regex101.com