Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

251.Advanced search and replace -- How to convert the text from decimal to hex in a file?

User: editor -- 2008-08-16          << 250  252 >>
Hits: 572
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
How to convert the text from decimal to hex in a file?
Input Sample:
15
10
2445
4095
Output Sample:
0F
0A
098D
0FFF
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
Steps: 
1. ctrl-o to open your text file 
2. press ctrl-h to open 'Replace' dialog  
1)set 'replace unit' to 'Word'  
2)set 'search for pattern' as:  

3)set 'replace with pattern' to:

4)set 'If' to:

3. Click 'Replace'

If you want to batch replace many files, click 'Batch...' in step 3, and click 'pick files' to load files and click 'Batch Replace'.

You can also use menu: "Replace->Replace by template->Bin/Oct/Decimal/Hex conversion" to do all conversions
Download Script:  scripts/251.rst.zip

Screenshot 1:  Replace_Window


Similar Examples:
How to convert the text from hex to decimal in a file? (86%)
Convert a text from binary to hex (67%)
How to convert all numbers from decimal to percentage? (65%)
How to convert text with pig latin rules? (64%)
How to convert the text from hex format to ascii format? (63%)
How to convert the text format by user specified rules? (61%)
How to change a hex text into decimal and apply a maths expression on it? (59%)
How to change a paragraph of text to a specical shape like a triangle? (59%)

Check Demo of Advanced search and replace
Keywords:
conversion  decimal  oct  toc  hex  dec  template  bin  convert  conver  decimal from hex in batch  decimal hex conversion  text to decimal conversion  decimal to text conversion  decimal to hex conversion  hex to text conversion  text to hex conversion  batch file decimal to hex