Preprocess the dating data with number replaced.