i am writing a regular expression that should start with EM and underscore any number of digits
so here is what i have: and needs to help to correct the regexpression:
"^[em-EM]{2}_[0-9]"
<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtId" ValidationExpression="^[em-EM]{2}_[0-9]" ErrorMessage="Invalid Id" Display="Dynamic"> </asp:RegularExpressionValidator>
don’t use the – like that: