i need check before save, if a textbox (ASP.NET) for password have at least
one or more char in lowercase regardless order one or more char in uppercase regardless order one or more number regardless order one or more of this special char " ! # $ % & % ' () * ... and minimum length o 8 char
How i can do that with Regex Expression ?
ex: #Abc123aB (valid)
abcAbc123aB123& (valid)
abc123abc (invalid) missing uppercase and special char
Edited
<tr>
<td>Password</td>
<td><asp:TextBox ID="txtClave" TextMode="Password" runat="server" > </asp:TextBox>
<div id="divmensaje" style="display:inline-block">
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtClave" ValidationExpression="^[A-Za-z0-9_\.\*#]{8,25}$" ErrorMessage="Wrong format"></asp:RegularExpressionValidator>
</div>
</td>
</tr>
thanks in advance for you time and support