In other words, instead of trying to remove stuff, flip it around and try to get stuff. If all you want is the 10-digit numbers, zenfargoyle's answer is the appropriate one.
------ We are the carpenters and bricklayers of the Information Age.
Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.