I face this problem a lot while searching phone numbers and bank account numbers, when I do remember it partially. I save a draft in gmail with the content I am mango. Then I search it, by entering just mango and it gets me to the draft. But when I save a draft with some number such as 123987645 and try to search by entering 12398764 i.e just one character missing I fail to find it. Also I failed when I just typed  87645. Out of curiosity I am asking are the algorithms for finding numbers and text fundamentally different? Or I am missing something?
Are algorithms for searching text vs searching numbers fundamentally different?
algorithms;search algorithms;strings;matching