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: 209
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 save specified lines of text file into different files? (58%)
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%)
How to count and sort the occurrence of different numbers in a text file? (52%)
How to split many merged avi files into original avi files? (52%)
How to join hundreds of columns in different files into one csv file? (51%)
How to merge two or more csv files with different columns into one file? (51%)
How to extract all telephone numbers from a text file? (49%)

Check Demo of Text file splitter
Keywords:
continuous  a001  groups  previous  split by paragraph  group  paragraph  text file splitter  splitter  examp  file splitter paragraph  text paragraph splitter  paragraph splitter  text splitter by paragraph  paragraph text splitter  split paragraph  split file by paragraph  split a file by paragraph