Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

881.Text file splitter -- How to split different groups of continuous numbers into different files?

User: editor -- 2011-11-01          << 880  882 >>
Hits: 1664
Type: Text file splitter   
Search all Text file splitter examples
Description:
How to split non-continuous numbers into different files? There is a file contain some numbers, how to split them into different files, each file contains continuous numbers?
Input Sample:
input.txt
1
2
3
5
6
7
12
13
Output Sample:
file1.txt
1
2
3
file2.txt
5
6
7
file3.txt
12
13
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open text file
2. open "File->Save As->Split by paragraph" menu
* set "para start" to "other":

* set "para end" to "none"
3. click "next", and select an base output file, for example a.txt
4. the text file will be splitted into a.001.txt, a.002.txt, ...

Note: version 2.68 or newer is required

Similar Examples:
How to add in different sentences after the different lines? (59%)
How to split English sentence and Chinese sentence into different lines? (58%)
How to save specified lines of text file into different files? (58%)
How to replace different lines with different rule? (57%)
How to replace certain column from different files?  (57%)
How to remove first 8 rows and extract column 5 and 8 into different files? (57%)
How to remove duplicate sentences across many articles in different files? (56%)
How to insert 100 different lines into the beginning of 100 text files? (55%)

Check Demo of Text file splitter
Keywords:
a001  continuous numbers  continuous  groups  previous  split by paragraph  group  non  splitter  text file splitter  contains numbers  file splitter paragraph  text paragraph splitter  paragraph splitter  text splitter by paragraph  paragraph text splitter  split text files paragraph  how to split files by paragraph