title: jquery validation engine date format function
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/5465375/javascript-date-regex-dd-mm-yyyy">Javascript date regex DD/MM/YYYY</a>  </p>
  </blockquote>
  
  
  
  <p>i'm using this validation :-<a href="http://www.position-absolute.com/articles/jquery-form-validator-because-form-validation-is-a-mess/" rel="nofollow noreferrer">jquery validation engine</a></p>
  
  <p>and by default validation function for date format is :-</p>
  
  <pre><code> "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"
                  },
  </code></pre>
  
  <p>in YYYY-MM-DD format , i want to change this to DD-MM-YYYY</p>
  
  <p>can anyone help me, to rewrite that function again</p>