title: Regular expression for password validation in c#
body: <p>Need help with regex for password validation in c#</p>
  
  <ol>
  <li>minimun length of 8 caracters and maximun of 16</li>
  <li>at least one digit, lower case and one uppper case</li>
  </ol>
  
  <p>What i tired:</p>
  
  <pre><code>var rule = new Regex("^(?=.{8,16}(?=*[a-z])(?=.*[A-Z])(?=.*[0-9])$");
  </code></pre>
  
  <p>but it doesnt work :(</p>