Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

978.Advanced search and replace -- How to reverse order of sentence clauses and words delimited by specified chars?

User: Aaron -- 2012-07-23          << 977  979 >>
Hits: 2914
Type: Advanced search and replace   
Search all Advanced search and replace examples
How to reverse order of sentence clauses and words delimited by commas, semicolons, and colons. 
Commas, semicolons, and colons are deleted.  
Input Sample:
w1 w2 w3 w4, w5 w6 w7. line1 
w1 w2 w3; w4 w5 w6 w7. line2 
w1 w2 w3 w4 w5, w6 w7. line3 
w1 w2 w3 w4: w5 w6 w7. line4 
Output Sample:
w5 w6 w7 w1 w2 w3 w4. line1 
w4 w5 w6 w7 w1 w2 w3. line2 
w6 w7 w1 w2 w3 w4 w5. line3 
w5 w6 w7 w1 w2 w3 w4. line4 
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' dialogue 
* set 'replace unit' to 'Line' 
* set 'replace with pattern' to: 
3. click 'replace', done. 
4. ctrl-s save to disk.

Screenshot 1:  Replace_Window

Similar Examples:
How can I reverse the sequence of all words in a text file? (57%)
How to count the number of english words that has specified number of chars? (56%)
How to change the order of lines according to specified position? (55%)
How to reverse the order of all the lines in a text file? (55%)
How to reverse all the words in each line of a csv file? (54%)
How to insert lines between sentences with specified order? (53%)
How to convert numbers into scientific format with specified spacing? (53%)
How to split/parse lines into sentences outside two delimiters? (52%)

Check Demo of Advanced search and replace
commas  reverse order of sentence  colon  delimited  specified chars  sentence  reverse  order  comma  delete  reverse order of clauses  sentence reverse order  replace commas  reverse order words  reverse words  search and replace sentence  reverse text  replace sentence