Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1339.Advanced search and replace -- How to replace different lines with different rule?

User: Wang Dongdong -- 2016-02-06          << 1338  1340 >>
Hits: 2698
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
each 3 lines replace by different characters.
Input Sample:
1111 
1111 
1111 
1111 
1111 
1111 
1111 
1111 
1111
Output Sample:
aaaa 
aaaa 
aaaa 
bbbb 
bbbb 
bbbb 
cccc 
cccc 
cccc
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' dialogue 
* set 'search for pattern' to the word you want to replace, like:  
* set 'replace with pattern' to: 
 
3. click 'replace', done. 
4. ctrl-s save to file.

Screenshot 1:  Replace_Window


Similar Examples:
How to replace certain column from different files?  (71%)
How to replace different words conditionally? (66%)
How to replace one content of same files with different contents ? (66%)
How to replace the same words in text files with different strings? (65%)
How to calculate each number in a line with different formula? (63%)
How to replace the quoted text with lines from another file? (63%)
How to replace the User-Defined lines of A text from B text? (62%)
How to extract specified lines in different section of text file? (61%)

Check Demo of Advanced search and replace
Keywords:
global  scalar  replace different  different  characters  rule  character  cal  char  ren  text lines replace different characters  different word file  replace with different file  replace with different  replace characters  different file  by word  each word