modified parse date find matched date format