RegularExpressionValidator
Hi,
I have a textbox where user can enter date. Currently the date can only be in the format dd/MM/yyyy. I need to modify the RegularExpressionValidator to allow user to also enter date in the format for example 11 Oct 2007 as well as dd/MM/yyyy.
How can i do that?
Thanks
<asp:RegularExpressionValidator ID="REVARegDateEdit" runat="server" ControlToValidate="Registration_dateTextBox"
Display="Dynamic" ErrorMessage="DD/MM/YY" Style="z-index: 127; left: 573px; position: absolute;
top: 47px" ValidationExpression="^\d{1,2}/\d{1,2}/\d{2}$" Width="90px"></asp:RegularExpressionValidator>
|