title: Regular Expression that Matches values for YYYYMM
body: <p>I need some <strong>regular expression</strong> for <strong>.net</strong> that matches the following <em>pattern</em>: <strong>YYYYMM</strong></p>
  
  <p>Where:</p>
  
  <ul>
  <li>YYYY is a <em>year</em> between 2000 and 2049</li>
  <li><em>MM</em> is a <em>month</em> between 01 and 12</li>
  </ul>
  
  <p>I have done the below one the problem with this, is that it includes invalid month values.</p>
  
  <pre><code>[2]{1}[0]{1}[0-4]{1}[0-9]{1}[0-1]{1}[0-9]{1}
  </code></pre>
  
  <p>any suggestion?</p>