Pass in array of PasswordRequirement values and use regex to check that the string passes those tests. PasswordRequirement values include the inclusion/exclusion of at least one:
Special Character
Number
Uppercase
Lowercase
as well as a Minimum and Maximum length for the password.
Pass in array of
PasswordRequirement
values and use regex to check that the string passes those tests.PasswordRequirement
values include the inclusion/exclusion of at least one:as well as a Minimum and Maximum length for the password.