Here we are going to write a regular exprestion for Password to check the condition like , password must contain at least one number,one capital letter and one special character.
you can see description and demo on shabeebk blog
Can check source file and download.
password_regex file.html