Hello I am trying to validate a date if the format dd/mm/yy
this works fine in IE5-6
var filter=/^[0-9]{2}[/]{1}[0-9]{2}[/]{1}[0-9]{2}$/;
if (! filter.test(inpDate))
{ alert("Please enter Date in DD/MM/YY Format !"');
return false;');
};
but I get
JavaScript Error: unterminated character class [
in Netscape
any ideas
Anthony.
this works fine in IE5-6
var filter=/^[0-9]{2}[/]{1}[0-9]{2}[/]{1}[0-9]{2}$/;
if (! filter.test(inpDate))
{ alert("Please enter Date in DD/MM/YY Format !"');
return false;');
};
but I get
JavaScript Error: unterminated character class [
in Netscape
any ideas
Anthony.