title: Date Regular Expression
body: <p>I'm using a date field checker but I want to change the regex from DD-MM-YYYY to DD/MM/YYYY but I can't seem to get it working..</p>
  
  <p>Here's the snippet of code:</p>
  
  <pre><code>"date": {
    "regex": "/^[0-9]{1,2}\-\[0-9]{1,2}\-\[0-9]{4}$/",
    "alertText": "* Invalid date, must be in DD/MM/YYYY format"
  },
  </code></pre>
  
  <p>I'm sure it's quite simple but I have no idea about regex.. I've tried:</p>
  
  <pre><code>/^[0-9]{1,2}\/\[0-9]{1,2}\/\[0-9]{4}$/
  </code></pre>
  
  <p>and</p>
  
  <pre><code>/^[0-9]{1,2}\\/\\[0-9]{1,2}\\/\\[0-9]{4}$/
  </code></pre>
  
  <p>but neither of them work for me..</p>