Well, if you can get the word that contains the number, then you could do something like
0@ = the word, for example "fir3st"
for 1@ = 0x30 to 0x39 //hex codes for 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 chars
wait 0
if 0C2A: 2@ = strchr 0@ char 1@ //search char in string
then
alloc 3@ =...