Possible Duplicate:
Javascript date regex DD/MM/YYYY
i'm using this validation :-jquery validation engine
and by default validation function for date format is :-
 "date": {
                    "regex": /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/,
                    "alertText": "* Invalid date, must be in YYYY-MM-DD format"
                },
in YYYY-MM-DD format , i want to change this to DD-MM-YYYY
can anyone help me, to rewrite that function again
 
     
     
    