validate date pattern
<p>i need a javascript method to validate a date pattern looks like this Jan 14, 2012</p>

<p>so far i am not sure which regex to use for this pattern as it is not standard date such as 14/01/2012 or 01/14/2012 or 01-04-2012..i tried to do something like this for early startes to split them up but ending i received a total split.</p>

<p>here is my split code</p>

<pre><code> function validateDate(date){
   var test = date.replace(",","");
   alert(test);
  var split = test.split("");
  for(i=0;i&lt;split.length;i++){
      alert(split[i]);
   }
  alert("total length "+split.length);
}
</code></pre>
