User: editor -- 2012-03-27 << 930 932 >> |
Hits: 5113 |
Type: Text file splitter |
Search all Text file splitter examples |
Description: |
How to split a file into multiple files with ======= as separator? |
Input Sample: |
Title Text text text text text Text text text text text =========================== Title1 Text1 text1 text1 text1 text1 Text1 text1 text1 text1 text1 =========================== Title2 Text2 text2 text2 text2 text2 Text2 text2 text2 text2 text2 =========================== |
Output Sample: |
File1.txt: Title Text text text text text Text text text text text File2.txt: Title1 Text1 text1 text1 text1 text1 Text1 text1 text1 text1 text1 File3.txt: Title2 Text2 text2 text2 text2 text2 Text2 text2 text2 text2 text2 |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
1. ctrl-o open source text file 2. open menu "File->Save As->Split by Paragraph" * set "para start" to "other", set the following entry to: * set "para end" to "none" 3. click Next, and enter Filename.txt as output file Note: If you don't like =========== in front of each file, you still can use replace pioneer to batch remove them: 1. open "Tools->Batch Runner" window 2. drag multiple files to "Batch Runner" window 3. click 'fast replace' button. * click 'add' to add new rules * set 'search' to: * click 'ok' 4. click 'start', done. |
Screenshot 1: Fast_Replace_Window |