Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1027.Advanced search and replace -- How to join every 50 or 500 lines together in a text file?

User: editor -- 2012-11-27          << 1026  1028 >>
Hits: 1616
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
I want Multiple lines merge,but I don't known how to do it, in my Text documents have many rows that maybe 100 or millions rows, And i want to
Every 50 lines merged into 1 line or Every 500 lines merged into 1 line,how can i do it ,i really have no idea,please help me,thanks!
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open text file
2. ctrl-h open replace gialogue
* set 'search for pattern' to:

* set 'unit number filter' to:

* set 'replace with pattern' to a single space
3. click 'replace', done!
4. ctrl-s save to file.

Screenshot 1:  Replace_Window


Similar Examples:
How to join every n lines into 1 line in a text file? (76%)
How to join the specified 2 or 3 lines together alternatively in a text file? (72%)
How to reverse the order of all the lines in a text file? (66%)
How to join every sequential line with a random line in a text file? (65%)
How to join same language lines into 1 line in a text file? (63%)
How to Random insert one or three line to a text file? (63%)
How to join every 3 lines into 3 columns of csv file? (63%)
How to reverse all cases of letters in a text file? (62%)

Check Demo of Advanced search and replace
Keywords:
500  single space  document  together  doc  help  merge  merg  mer  unit number filter  join every lines into line  join text to single line  join lines into line  how can i join  search help  search and replace join lines  join lines  lines join