date problem solved - regular expression