Replace Pioneer Home
All Examples
Free Download
all
Advanced search and replace
Replace text in multiple files
Regular expression replace
Batch file rename
Batch download
Text file parser
Text file splitter
Html text generator
Search replace binary
Random word generator
Count and statistics
Character encoding
Bin Hex Oct Dec converter
Text generator
Text sort
Text merge
Text data calculation
RSS: Replace Pioneer Examples
797.Bin Hex Oct Dec converter -- How to add a fixed number on all hexadecimal bytes?
User:
editor -- 2011-06-11
<< 796
798 >>
Hits:
3350
Type:
Bin Hex Oct Dec converter
Search all
Bin Hex Oct Dec converter
examples
Description:
How to add a fixed number on all hexadecimal bytes? For example add 10(ten or 0A) on all hex values.
Input Sample:
8F9A
032B
425C
5050
Output Sample:
8FA4
0335
4266
505A
Answer:
Hint: You need to
Download and install "Replace Pioneer"
on windows platform to finish following steps.
1. ctrl-o open the source text file containing hex number
2. ctrl-h open replace dialog
* set 'search for pattern' to:
[0-9a-zA-Z]+
* set 'replace with pattern' to:
calc(oct('0x'.$match)+10,'04X')
3. click 'replace', done.
4. ctrl-s save to file.
Screenshot 1: Replace_Window
Similar Examples:
How to split text file by number of bytes?
(58%)
How to convert list of hexadecimal to binary ?
(57%)
How to change all numbers in a text file to 2 decimial places?
(57%)
How to extract all lines with numbers from many text files?
(56%)
How to add a leading zero to all 4 digit numbers in multiple files?
(54%)
How to add some number to the specific column in csv file?
(54%)
How to translate the hex number to decimal number inside a text file?
(53%)
How to convert all numbers from decimal to percentage?
(53%)
Check Demo of
Bin Hex Oct Dec converter
Keywords:
hexadecimal
hexa
fixed number
converter
oct dec converter
bin hex oct
bin hex oct dec
hex oct
hex oct dec
bin hex
hexadecimal bytes fixed
hexadecimal converter text
converter hexadecimal
search replace hexadecimal
add hex
text converter
converter text
text converter search replace