fixed regex for datetime field