change date to regex test