Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

715.Text file parser -- How to extract all valid ip address from a list of ip addresses?

User: editor -- 2011-02-12          << 714  716 >>
Hits: 588
Type: Text file parser   
Search all Text file parser examples
Description:
How to extract all valid ip address from a list of ip addresses?
Input Sample:
121.38.4.8
1366.2.5.22
4.1.173.33
8.a.55.4
192.168.1.1
Output Sample:
121.38.4.8
4.1.173.33
192.168.1.1
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open text file that contains ip addresses
2. ctrl-h open 'replace window'
* set 'search for pattern' to:

* set 'replace with pattern' to:

* set 'if' to:

* uncheck option of 'print unmatched unit'
3. click 'replace', done.
4. ctrl-s save to file.

Screenshot 1:  Replace_Window


Similar Examples:
How to extract all html address from a text file? (68%)
How to extract all IP address from a text file? (67%)
How to generate IE favorite items from a list of url addresses? (66%)
How to remove all the unavailable addresses from a list of web pages? (62%)
How to extract email address from website or webpages? (60%)
How to sort all lines of ip addresses in a text file? (59%)
How to extract all distinct parent folder names from a list of files? (57%)
How to filter out valid email addresses among thousands of Email addresses? (57%)

Check Demo of Text file parser
Keywords:
ddd  var  ip address  unmatched  unmatch  from a list  address  addr  print  extract all  list of ip addresses valid  list of valid ip addresses  extract list of ip addresses from a text file  extract ip list from text file  extract ip addresses from text file  extract all ip addresses from file  extract all ip addresses from a file  extract all ip addresses from text