title: How to perform password validations in iPhone?
body: <p>I have an application in which I have to perform validations on password and confirm password. This is my criteria for password field:</p>
  
  <ol>
  <li>First letter should be capital.</li>
  <li>Password should be more than above 6 values.</li>
  <li>At least one special key should be present.</li>
  <li>At least 1 numeric value should be entered in password.</li>
  </ol>
  
  <p>If all this criteria are present then only password is accepted.</p>