Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

765.Text file parser -- How to extract unique ip addresses from multiple text/html files?

User: editor -- 2011-04-17          << 764  766 >>
Hits: 4751
Type: Text file parser   
Search all Text file parser examples
Description:
How to extract all ip addresses from multiple text/html files, and remove all duplicate addresses?
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. open "Tools->Batch Runner" menu 
2. drag multiple text/html files from windows file browser to "Batch Runner" window 
3. click "Fast Replace" button, open "Fast Replace" window 
* click "Add" to add a new rule 
* set "search" to: 
 
* set "replace" to: 
 
* click "ok" 
4. Make sure "Regular exp" and "Extract" flag is checked 
5. Click "Start" and click "Output to single file" button, all ip address will be extracted to single file. 
 
To remove duplicated ipaddresses, please check following question: 
http://www.mind-pioneer.com/services/131_Text_sort.html

Screenshot 1:  Fast_Replace_Window


Similar Examples:
How to extract/parse all http addresses from text/html file? (73%)
How to extract all image links from multiple html files?  (71%)
How to extract email addresses from multiple webpages? (71%)
How to extract all email addresses from many text files? (70%)
How to extract all IP address from a text file? (69%)
How to extract all html address from a text file? (67%)
How to sort all lines of ip addresses in a text file? (67%)
How to extract 5 unique lines from a text file with 30 lines? (66%)

Check Demo of Text file parser
Keywords:
ddd  how to extract unique ip address  131  how to extract unique ip  extract unique  extract all ip addresses  odd  unique ip  question  duplicated  extract unique ip address from file  extract unique ip addresses from file  multiple unique ip addresses  parser unique ip  extract ip addresses from files  extract ip address from files  extract ip addresses  extract all ip addresses from file