Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1175.Advanced search and replace -- How to sort randomly(shuffle) all paragraphs that separated by ## in multiple files?

User: cnteresa -- 2014-02-17          << 1174  1176 >>
Hits: 1061
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
How to sort randomly(shuffle) all paragraphs that separated by ## in multiple files?
Input Sample:
line1
line2##
line3
line4
line5##
line6
Output Sample:
line3
line4
line5##
line1
line2##
line6
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. open "Tools->Batch Runner" window
2. drag multiple files to "Batch Runner" window
3. click "add" to add new rules
* set 'search' to blank
* set 'replace' to:

* click 'ok'
4. make sure "reg exp" and "cross line" options are checked
5. click "start", done.

Screenshot 1:  Fast_Replace_Window


Similar Examples:
How to findout all lines that contain specified words in multiple files? (57%)
How to extract all lines with more than 30 characters from multiple files? (56%)
How to extract all lines that contain "abc" from multiple files? (55%)
How to remove all the lines that with odd line number for multiple files? (54%)
How to extract all text enclosed by H1 tag from multiple html files? (53%)
How to shuffle all paragraphs and remove all paragraphs with less than 30 words? (52%)
How to extract all paragraphs matching "spanning-tree" and remove the match line? (52%)
How to extract all sentences that contain special keyword from multiple articles? (52%)

Check Demo of Advanced search and replace
Keywords:
sort randomly  sort random  shuffle  paragraphs  unique  randomly  separate  paragraph  paragra  rules  sort paragraphs  shuffle files  replace paragraphs in multiple files  shuffle line  count in multiple files  split blank  add blank line to multiple files  add to multiple blank files