title: Regular Expressions with regularexpressionvalidator
body: <p>I'm trying to create a</p>
  
  <pre><code> &lt;asp:regularexpressionvalidator&gt;
  </code></pre>
  
  <p>with following conditions:</p>
  
  <ul>
  <li>String must be have 8 chars.</li>
  <li>String must contains 8 alphanumeric chars in any order, letters must be capitals.</li>
  </ul>
  
  <p>Eg:</p>
  
  <ul>
  <li>YES: 12345678</li>
  <li>YES: A2345A78</li>
  <li>YES: ABCDEFGH</li>
  <li>NO: 1234a567</li>
  <li>NO: ABCdEfgh</li>
  <li>NO: abcdefgh</li>
  <li>NO: a.bc-feg</li>
  </ul>
  
  <p>by the way, anyone knows a good regex online creator? Thanks</p>
  
  <p>RESOLVED: For the first answer view the accepted answer, for the second view the first comment of this post by  Jeff Turner</p>