Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1225.Advanced search and replace -- How to replace a repeated string in unsequenced order?

User: Soly -- 2014-08-02          << 1224  1226 >>
Hits: 2943
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
How to replace a repeated string in unsequenced order? only the fifth a with z.
Input Sample:
a blah blah blah blah blah
Output Sample:
a blah blah blah blzh blah
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:  
* set 'replace with pattern' to:  
* set 'unit number filter' to:  
3. click 'replace', done. 
 
Note:  
* if you want to replace the 5th,7th, and 9th, set 'unit number filter' to:  
 
* if you want to replace the 5th through 9th, set 'unit number filter' to:  
 
* if you want to replace the every occurrance except 5th through 9th, set 'unit number filter' to: 

Screenshot 1:  Replace_Window


Similar Examples:
How to replace one specified word with a sequence of words from a file? (66%)
How to generate a list of strings with sequence id decreased? (65%)
How to replace strings with words in a list in sequence or randomly? (62%)
How to replace a word/string with increasing sequence number in a text file? (62%)
How to replace specified word with increasing binary sequence? (61%)
How to replace alt text with string from title tag? (60%)
How to replace a string in one text file with random words from another file? (58%)
How to generate a random binary sequence matrix? (57%)

Check Demo of Advanced search and replace
Keywords:
repeated  5th  occurrance  except  repeat  order  unit number filter  number filter  sequence  seq  except search text  order number  replace string with number  replace number in string  only search text  text pattern filter  filter number  pattern filter replace