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
438.Text generator -- How to generate an IP address list base on given subnet?
User:
editor -- 2010-03-05
<< 437
439 >>
Hits:
5894
Type:
Text generator
Search all
Text generator
examples
Description:
How to generate an IP address list base on giving subnet?
Input Sample:
133.28.1
133.28.3
133.28.5
Output Sample:
133.28.1.1
133.28.1.2
..
133.28.1.254
133.28.3.1
133.28.3.2
..
133.28.3.254
133.28.5.1
133.28.5.2
..
133.28.5.254
Answer:
Hint: You need to
Download and install "Replace Pioneer"
on windows platform to finish following steps.
1. ctrl-o open source file containing subnet
2. ctrl-h open 'Replace' window:
* set 'Replace Unit' to 'Line'(assume each line is a subnet)
* set 'Replace with pattern' to:
join("\n",map{$match.".$_"}(1..254))\n
3. click 'Replace', done!
4. ctrl-s save to disk.
Download Script:
scripts/438.rst.zip
Screenshot 1: Replace_Window
Similar Examples:
How to generate a full number list base on given number range list?
(66%)
How to generate a list of number base on given formula such as 3n+1?
(63%)
How to batch generate IP address list that like real IP addresses randomly?
(56%)
How to generate an address sequence with id increased from 'aaa' to 'zzz'?
(56%)
How to generate required format with given words in each line?
(55%)
How to extract all valid ip address from a list of ip addresses?
(55%)
How to extract all IP address from a text file?
(55%)
How to generate a list of batch commands with different increasing id?
(55%)
Check Demo of
Text generator
Keywords:
subne
subnet
how to generate an ip address list
how to generate an ip address
given
ip address lis
give
generate an ip
how to generate an ip
ip address
subnet list generator
subnet generator
address line
generate list
generate file
set file list
file list
line pattern