Admittedly what you are seeking may have to be custom-programmed for you.
If the amount of numbers you need to exclude were reasonably small (not more than 10, perhaps?) then I myself could program an Excel macro that would do what you require.
If you want a ready-made piece of freeware, for Windows, this might possibly do (though, the 'numbers' it excludes, are apparently digits, or one-digit numbers.):
- be warned, the right 'download' button is the smaller light-green one with a check-mark on it, nearer the bottom of the page, and just under the 'fromDoctoPDF'. The rest of the large DOWNLOAD buttons are for things you don't need.
If this answers your question, please rate my answer. A five-star rating would be appreciated!
If you need further info, or have some comment or further requirement, please Reply To Expert and I will continue to assist you.