ColdFusion isvalid for dd/mm/yyyy format
below isvalid code can be used for validating date with dd/mm/yyyy format
<cfoutput>#isvalid("regex"," 02/28/2015","^(0[1-9]|[12][0- 9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\d\d$")#</cfoutput>
<cfoutput>#isvalid("regex","
Comments
Post a Comment