Monday, 26 May 2014

Valid Date regularexpressionvalidator

regularexpressionvalidator cssclass="SuccessErrorText" id="RegularExpressionValidator2"
runat="server" controltovalidate="txtRequestedImplementationDate" font-names="Verdana"
font-size="X-Small" setfocusonerror="True" display="Dynamic" errormessage="Please Enter Valid Date"
validationgroup="Save"
validationexpression="^(?:(?:0?[13578]|1[02])|(?:0?[469]|11)(?!\/31)|(?:0?2)(?:(?!\/3[01]|\/29\/(?:
(?:0[^48]|[13579][^26]|[2468][^048])00|(?:\d{2}(?:0[^48]|[13579][^26]|[2468][^048]))))))\/(?:0?[1-9]
|[12][0-9]|3[01])\/\d{4}$"