1.) Password should contain atleast 8 characters. 2.) Password should contain atleast one small letter, one capital letter, one number and one special character among (!,@,#,$,_)