title: text box validator for minimum length
body: <pre><code>     &lt;asp:RequiredFieldValidator ID="NewPasswordRequired" runat="server" ControlToValidate="NewPassword" 
  ErrorMessage="New Password is required." ToolTip="New Password is required." ValidationGroup="ChangeUserPasswordValidationGroup"&gt;
   &lt;/asp:RequiredFieldValidator&gt;
  </code></pre>
  
  <p>How can I validate the text box to enter a value which length should be more than 8 and must contain 1 number and 1 uppercase letter.</p>