I'd say that regex is the best way to go, and you should also use $read(x.txt,t,line) when dealing with numbers.

It'd be great if you could confirm if this is the way you want to search:
let.txt has the numbers to be matched, and numbs.txt has the numbers on line 1 that the numbers from let.txt are to be found in.