title: Regex for a four digit number ASP.Net
body: <p>I have been searching high and low for a regex to use on a text box in ASP.Net to validate a four digit number.</p>
  
  <p>The four digit number is split into two, the first digit needs to be 0 - 9, and the last part of the number can be 001 to 365. So, you could 1001, or 0365, which will be valid numbers. Basically, what it is a code for dates, the first part of the number or first digit is the year, and the last part is the day/month, so 001 is 1st Jan or 365 is 31st December. </p>
  
  <p>Can anyone help?</p>