Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

931.Text file splitter -- How to split a file into multiple files with ======= as separator?

User: editor -- 2012-03-27          << 930  932 >>
Hits: 3202
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


Similar Examples:
How to split a text file into multiple files evenly on size? (72%)
How to split a text file into multiple files and take the date as filename? (71%)
How to split a text file into multiple files with maximum 100k bytes? (66%)
How to split a csv file into multiple files according to value of column B? (63%)
How to insert mulitple text files into multiple html files? (60%)
How to split one text/html into mutiple  files by the special tag like <hr />? (60%)
How to put each line of keywords into multiple files with random occurrence? (58%)
How to batch split files into columns that separated by comma? (58%)

Check Demo of Text file splitter
Keywords:
split a file into multiple files  how to split a file into multiple files  split by paragraph  non  splitter  text file splitter  paragraph  next  paragra  use replace pioneer  replace pioneer batch split  split files separator  split text file separator  split text file into multiple files pioneer  split multiple text files replace pioneer  replace pioneer split text file to multiple files  replace pioneer text splitter  replace pioneer split files