title: How to validate a password with upper, lower and special character?
body: <p>I need a validate that the user need to put a minimum, 1 upper, 1 lower and 1 special character... I just put a validate that the user need minimum 6 letter or more...</p>
  
  <pre><code>try
  {
      string actualPass = this.txtactualPass.Text;
      string newPass = this.txtnewPass.Text;
      string reEnterPass = this.txtReEnterPass.Text;
  
      if (actualPass == this.Session["password"].ToString())
      {
          if (newPass.Length &gt;= 6)
          {
  </code></pre>