title: Combining 2 regular expression in web.config passwordStrengthRegularExpression=""
body: <p>I am not able to combine below two regular expressions. Password standard requirement:</p>
  
  <ul>
  <li>Password cannot contain your username or parts of your full name
  exceeding two consecutive characters</li>
  <li>Passwords must be at least 6 characters in length</li>
  <li>Passwords must contain characters from three of the following categories 
  <ul>
  <li>Uppercase characters (English A-Z) </li>
  <li>Lowercase characters (English a-z) </li>
  <li>Base 10 digits (0-9) </li>
  <li>Non-alphabetic characters (e.g., !, @, #, $, %, etc.)</li>
  </ul></li>
  </ul>
  
  <p>Expression:</p>
  
  <pre><code>passwordStrengthRegularExpression="((?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[@#$%]).{6,20})"
  </code></pre>
  
  <p>Passwords cannot contain the word “Test” or “test” or variants of the word</p>
  
  <pre><code>passwordStrengthRegularExpression="((?=.*\"^((?!Test|test|TEST).*)$"
  </code></pre>
  
  <p>Both  are working fine individually.</p>