title: PHP regex extract date
body: <p>i have <code>$date</code> variable <code>2009-04-29</code> which is <code>Y-m-d</code></p>
  
  <p>anybody can give idea how to extract into <code>$d</code>, <code>$m</code>, <code>$y</code> using simplest method as possible?
  regex is preferable. 
  any more suggestion with simple method will be chosen. :)</p>