i need a javascript method to validate a date pattern looks like this Jan 14, 2012
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.
here is my split code
function validateDate(date){
var test = date.replace(",","");
alert(test);
var split = test.split("");
for(i=0;i<split.length;i++){
alert(split[i]);
}
alert("total length "+split.length);
}