title: Password Strength data-rule-pattern with jQuery Validation
body: <p>I am using jQuery validation plugin and I want to create a password strength regex using <code>data-rule-pattern</code> to validate the field and can't make it work at all.</p>
  
  <p>I want the password to have minimum:</p>
  
  <ul>
  <li>8 characters</li>
  <li>1 uppercase letter</li>
  <li>1 number</li>
  </ul>
  
  <p>So far I have:</p>
  
  <pre><code>&lt;p class="controls"&gt;
  &lt;input data-rule-pattern="(^$)|([a-z][A-Z]{1}[0-9]{1}$)" data-msg-pattern="Password does not meet the minimum requirments." id="password" type="password" data-rule-required="true" value="" /&gt;
  &lt;/p&gt;
  </code></pre>
  
  <p>The other simple validations are working ok, but can't get this one done. Can anyone help please with some ideas? Thanks!</p>