string_to_datetime now uses datetimes strptime function instead of regular expresions