title: jQuery Validation - password MUST contain uppercase and number
body: <p>So in my registration form I have this field:</p>
  
  <pre><code> &lt;div class="form-group"&gt;
      &lt;label for="RegisterModel_Password"&gt;Password&lt;/label&gt;
      &lt;input type="password" id="RegisterModel_Password" 
             name="RegisterModel.Password" class="form-control" 
             required="required" minlength="8"/&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>As you see, I'm using jQuery validation attributes to ensure that the password includes at least 8 characters. So, I want to check if password contains uppercase and number, if not, field is not valid. I downloaded additional method for jQuery Validation plugin named "<a href="https://github.com/jquery-validation/jquery-validation/blob/master/src/additional/pattern.js" rel="nofollow noreferrer">pattern</a>" and added her in head tag.</p>
  
  <p>I tried to do this as follows but it didn't worked. </p>
  
  <pre><code>$("#formRegister").validate({
      rules: {
          RegisterModel_Password: {
              pattern: /^[a-zA-Z][0-9]/
          }
      }
  });
  </code></pre>
  
  <p>I assume that the pattern is wrong, but I'm not sure whether the use is correct.
  Thank you for your help.</p>