This question already has an answer here:
I want to allow users to fill password with at least 7 character(no limit) that must have 1 numeric and 6 alphabet.
</div>
This question already has an answer here:
I want to allow users to fill password with at least 7 character(no limit) that must have 1 numeric and 6 alphabet.
</div>
/^(?=.*[0-9])(?=.*[a-zA-Z])([a-zA-Z0-9]+)$/
this is regex for atleast 1 digit in password