I have the following RegularExpressionValidator on one of my pages:
<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server"
ControlToValidate="InKindTextBox"
ErrorMessage="The value entered for 'Cash' must be in a number format. Examples: 500.00, 500, $500, $50,000 or $500.00"
ValidationExpression="(?n:(^\$?(?!0,?\d)\d{1,3}(?=(?<1>,)|(?<1>))(\k<1>\d{3})*(\.\d\d)?)$)" >
But when it tries to validate it throws the error below from one of my dynamic JS pages.
When I run this regex through regex texter it works fine. Am i doing something wrong here?