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
380.Bin Hex Oct Dec converter -- How to convert IP addresses in text file into Hexidecimal format?
User:
editor -- 2010-01-02
<< 379
381 >>
Hits:
4525
Type:
Bin Hex Oct Dec converter
Search all
Bin Hex Oct Dec converter
examples
Description:
How to convert IP addresses in text file into Hexidecimal format?
Input Sample:
123.122.33.44
125.242.12.37
21.32.111.23
Output Sample:
7B.7A.21.2C
7D.F2.0C.25
15.20.6F.17
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:
* fill in 'Search for Pattern' like:
(\d+)\.(\d+)\.(\d+)\.(\d+)
* fill in 'Replace with Pattern' like:
calc($1,'02X').calc($2,'02X').calc($3,'02X').calc($4,'02X')
3. click 'Replace', done!
4. ctrl-s save result to file.
Download Script:
scripts/380.rst.zip
Screenshot 1: Replace_Window
Similar Examples:
How to convert Hexidecimal IP addresses in text file into decimal format?
(87%)
How to convert a text file to specified format?
(68%)
How to convert binary data in many text file to hexdecimal data?
(67%)
How to convert each line of a text file to the new format?
(66%)
How to convert csv files into tables with html format?
(64%)
How to convert the decimal IP address into binary format with 0 and 1?
(64%)
How to convert the date in a text file into GMT(Greenwich Mean Time)?
(62%)
How to convert the text from hex to decimal in a file?
(61%)
Check Demo of
Bin Hex Oct Dec converter
Keywords:
ddd
hexidecimal format
convert ip address
converter
oct dec converter
bin hex oct
bin hex oct dec
hex oct
hex oct dec
bin hex
text format converter
text converter
converter text
format convert
convert text
replace convert
file format
replace text in file