User: Michel Marquis -- 2014-08-23 << 1234 1236 >> |
Hits: 3341 |
Type: Replace text in multiple files |
Search all Replace text in multiple files examples |
Description: |
How to batch insert the filename into the beginning of the file content on 2 first lines. Filename before '-' First line and filename after '-' on the second line. One line space, And without the extension(.txt) |
Input Sample: |
Replace pioneer - Test text.txt This is the content of the text I need to modify |
Output Sample: |
Replace Pioneer - Test text.txt Replace Pioneer Test text This is the content of the text I need to modify |
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 from windows file browser to "Batch Runner" window 3. click "Fast Replace" button open "Fast Replace" dialogue 4. click "add" to add new rule * set "search" to: * set "replace" to: * click "ok" 5. make sure "reg exp" and "cross line" options are checked, and click "start", done. |
Screenshot 1: Fast_Replace_Window |