<asp:RegularExpressionValidator runat="server" ID="regLSLExpVal" ControlToValidate="txtLSL" Display="None" ErrorMessage="Only 4 digits are allowed before decimal." ValidationExpression="^\d{1,4}(\.\d{1,2})?$" > </asp:RegularExpressionValidator>
^(\d{4}(.\d{2}))$
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)