How to change the number to the corresponding letter base on given mapping table? I have a text file that contain some numbers and words, I need to change all the number to the letters with following mapping table: 1 -> A 2 -> B ... 26 -> Z 27 -> A 28 -> B ... 52 -> Z 53 -> A ...