Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

262.Advanced search and replace -- How to shuffle all the lines in a text file?

User: editor -- 2008-08-30          << 261  263 >>
Hits: 2167
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
How to shuffle all the lines in a text file?
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" dialog
* set "Replace with pattern" to:

* select "Advanced" page, enter "Run following for each matched unit" like:


3. Click "Replace", done!

Example:
a
b
c
d
e
f
g
May be shuffled and output like:
d
g
f
e
b
a
c
Download Script:  scripts/262.rst.zip

Screenshot 1:  Replace_Window


Screenshot 2:  Replace_Advanced_Window


Similar Examples:
How to shuffle all lines of text in specified range? (79%)
How to reverse the order of all the lines in a text file? (76%)
How to sort all the lines of a text file randomly? (75%)
How to shuffle specified lines in multiple text files? (73%)
How to remove/delete all blank lines in a text file? (73%)
How to shuffle all elements in a specified range in text file? (71%)
How to delete duplicate lines of a text file? (71%)
How to reverse all cases of letters in a text file? (70%)

Check Demo of Advanced search and replace
Keywords:
abcd  asp  shuffle  abc  led  rand  example  examp  join  ran  shuffle lines in the text  shuffle text lines  shuffle all lines  shuffle lines  shuffle text file  text shuffle  search lines  replace enter in text file