remove white space in regex for date detection