User: shanfeng -- 2015-01-03 << 1274 1276 >> |
Hits: 3231 |
Type: Text file parser |
Search all Text file parser examples |
Description: |
How to extract the forth column in the second line from different files into the same file? |
Input Sample: |
file1:a,b,c,d 1,2,3,4 file2:a,b,c,d 2,3,5,6 |
Output Sample: |
file2:4,6 |
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 files to "Batch Runner" window 3. click "Fast Replace" button 4. click "Add" to add new rules: * leave "search" to be blank * set "replace" entry to: * click "ok" 5. make sure "reg exp" and "Cross Line" options are checked, and click "start" 6. select "output to single file" option, done. |
Screenshot 1: Fast_Replace_Window |