title: UK Date Regular Expression
body: <p>I'm trying to create a regular expression that validates UK date format. I have the following:</p>
  
  <pre><code>(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\d\d
  </code></pre>
  
  <p>This works great for validating: <b>09</b>/12/2011. But if the date is: <b>9</b>/12/2011 it will not validate correctly. Is there a regular expression that allows me to use a single number and two numbers for the day section? For example "<b>09</b>" and "<b>9</b>".</p>