Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

134.Advanced search and replace -- How to reverse a text file by characters?

User: editor -- 2008-05-19
Hits: 191
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
How to reverse a text file by characters?
Input Sample:
This is example line1.
This is example line2.

Output Sample:
.2enil elpmaxe si sihT
.1enil elpmaxe si sihT
Answer:
Hint: You need to Download and install "Replace Pioneer" to finish following steps.
1. press ctrl-o open source file
2. press ctrl-h open 'Replace' dialog
in 'Replace' page,
* set 'Search for pattern':

* set 'Replace with pattern':

3. click 'Replace', done.
Note: chars_r will make character level reverse.
words_r will make word level reverse.
Download Script:  scripts/134.rst.zip

Similar Examples:
How to reverse the order of characters in each line of text? (63%)
How to change all numbers in a text file to 2 decimial places? (61%)
How to change all numbers in a text file to the comma separated numbers? (61%)
How to split text file by number of bytes? (61%)
How to remove all lines that shorter than 10 characters? (60%)
How to replace all the numbers in a text file to the square value? (60%)
How to replace words in a text file only if they are whole words? (60%)
How to replace all the password field in text file with random chars? (59%)

Check Demo of Advanced search and replace