How Do You Validate Passwords?

How Do You Validate Passwords? At least one uppercase letter. At least one lowercase letter. At least one digit. At least one special symbol. should be more than 4 character. What is password validation? Sometimes a password validation in a form is essential. Check a password between 6 to 20 characters which contain at least