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
1440.Text generator -- How to convert abbreviated ip to detail ip?
User:
JiangNan -- 2019-07-22
<< 1439
1441 >>
Hits:
2352
Type:
Text generator
Search all
Text generator
examples
Description:
How to convert abbreviated ip to detail ip?
Thank you!
Input Sample:
21/22.16.24.1
Output Sample:
21.16.24.1
21.16.24.2
...
21.16.24.255
22.16.24.1
22.16.24.2
...
22.16.24.255
Answer:
Hint: You need to
Download and install "Replace Pioneer"
on windows platform to finish following steps.
1. ctrl-o open source text
2. ctrl-h open 'replace' dialog
* set 'search for pattern' to:
\b(\d+)/(\d+)\.(\d+)\.(\d+)\.1\b
* set 'replace with pattern' to:
join("\n", map{"$1.$3.$4.$_"}(1..255)) join("\n", map{"$2.$3.$4.$_"}(1..255))
3. click 'replace', done.
Screenshot 1: Replace_Window
Similar Examples:
How to convert the text from hex to decimal in a file?
(56%)
How to convert list of hexadecimal to binary ?
(55%)
How to convert the text from decimal to hex in a file?
(53%)
How to remove duplicate lines from a text file?
(51%)
How to remove partially duplicated lines in a text file?
(51%)
How to convert invalid charcters in csv file?
(50%)
How to batch convert word docx files to txt files?
(49%)
How to convert a duration of seconds to a time format?
(49%)
Check Demo of
Text generator
Keywords:
map
how to convert
convert
conver
text generator
generator
join
con
open sou
open sour
ip text generator
ip generator
convert text ip to
convert ip to text
ip convert to text
convert text
replace convert
convert 2