title: String split via regex javascript
body: <p>I have a sting which contains a date, but date object wont accept it, so i have to make it into a valid format.</p>
  
  <p>I tried this</p>
  
  <pre><code>"20130820".split(/^[a-z0-9]{4}[a-z]{2}[a-z0-9]{2}?$/) 
  </code></pre>
  
  <p>It should give out an array like  </p>
  
  <pre><code>["2013", "08", "20"]
  </code></pre>
  
  <p>Any idea where i am wrong?</p>