title: Javascript: Extract a date from a string?
body: <p>I have a string formatted as either</p>
  
  <pre><code>Today 3:28AM
  Yesterday 3:28AM
  08/22/2011 3:28AM
  </code></pre>
  
  <p>What I need to do is somehow extract into a variable the date portion of my string, ie. 'Today', 'Yesterday' or a date formatted as DD/MM/YYYY.</p>
  
  <p>Is something like this possible at all with Javascript?</p>