... using a zero-width negative look-ahead assertion; or ... using a zero-width positive look-ahead assertion together with \D ...