<asp:RegularExpressionValidator ID="regTime" ControlToValidate="txtTime" Display="Dynamic" Text="Invalid Time Format" ValidationExpression="^((1[012])|(0?[1-9])):([0-5][0-9]) ?([aApP][mM])$" runat="server"> </asp:RegularExpressionValidator>
?([aApP][mM]){0,1}$
@"^(([0-2]\d|[3][0-1])\.([0]\d|[1][0-2])\.[2][0]\d{2})$"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)