[4.2] Validation : factorize replaceDigitsBetween