title: Regex to match date formats DD-MM-YYYY and DD/MM/YYYY
body: <p>I'm working in Sublime Text 3 with a large text file that has entries separated by lines. I'm looking for a regular expression that will:</p>
  
  <ul>
  <li>Match entries that appear in the <code>DD-MM-YYYY</code> format</li>
  <li>Match entries that appear in the <code>DD/MM/YYYY</code> format </li>
  </ul>
  
  <p>If both would be too complicated, then just the first example will do.</p>
  
  <p>I haven't done anything to work towards such a regex, because it's honestly way above my knowledge of it and I wouldn't know where to start, and looking at similar answers dealing with regex validation of date formats confirms those suspicions for me.</p>
  
  <p>Thanks in advance for any help. </p>