Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

524.Advanced search and replace -- How to change the number to the corresponding letter base on mapping table?

User: editor -- 2010-06-02          << 523  525 >>
Hits: 1789
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
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
...
Input Sample:
This is 1
This is 10
This is 55
...
Output Sample:
This is A
This is J
This is C
...
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open source text file
2. ctrl-h open replace dialog
* in "search for pattern" entry, fill:

* in "replace with pattern" entry, fill:

3. click "Replace", done!

Similar Examples:
How to change each number to an increasing number starting from 8? (64%)
How to add number at end according to domain name at the begin of line? (56%)
How to convert asp code to corresponding hex bytes separated by comma? (56%)
How to change the numbering format in a text file to a new format? (55%)
How to change the number in each line to specified order in a text file? (55%)
How to change all numbers in a text file to 2 decimial places? (55%)
How to batch change decimal numbers by rounding to 3 decimal places? (54%)
How to count the number of words with different length in an English article? (54%)

Check Demo of Advanced search and replace
Keywords:
given  give  table  mapping  letters  letter  map  how to change the number  numbers  tab  change all numbers in text file  search replace mapping  text to number base  contain numbers  mapping file  replace letters  change letter  replace contain number