I want to validate the passwords of users on my website with minimum length of 8 characters, But in these 8 characters i want how many numbers inserted on password, if there are less than 2 numbers in password then it will show that the password is incorrect.?
Example password 1: aCxR2Vgy
In correct password
Example password 2: a7x45e7m
Correct Password
How do i perform this? any suggestions...