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 |