title: Javascript split regex question
body: <p>hello I am trying what I thought would be a rather easy regex in Javascript but is giving me lots of trouble. 
  I want the ability to split a date via javascript splitting either by a '-','.','/' and ' '.</p>
  
  <pre><code>var date = "02-25-2010";
  var myregexp2 = new RegExp("-."); 
  dateArray = date.split(myregexp2);
  </code></pre>
  
  <p>What is the correct regex for this any and all help would be great. </p>