title: How do i improve this regex?
body: <p>I have the following piece of PHP code for matching a birth year:</p>
  
  <pre><code>$pattern = "/20\d\d/";
  
  $exp = "BORN ON:        Friday, June 11, 2001 ";
  
  $match = preg_match($pattern,$exp, $matches);
  
  echo $matches[0];
  </code></pre>
  
  <p>This matches <code>"2001"</code>...which is what I am trying to match--the birth year. But this is clearly a hack of a solution and can run into problems if there are other years before <code>$exp</code> for some reason.
  How can I include the <code>"BORN ON"</code> information to pick out just the year?</p>