Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

458.Advanced search and replace -- How to replace the specified text with increasing HEX strings?

User: editor -- 2010-03-25          << 457  459 >>
Hits: 2243
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
How to replace the specified text with increasing HEX strings?

How can I change all the word INDEX to 000B, 000C ... until FFFF?
Input Sample:
name: module1
index: INDEX
name: module2
index: INDEX
name: module3
index: INDEX
name: module4
index: INDEX
name: module5
index: INDEX
name: module6
index: INDEX
name: module7
index: INDEX
name: module8
index: INDEX
name: module9
index: INDEX
name: module10
index: INDEX
name: module11
index: INDEX
...
Output Sample:
name: module1
index: 000B
name: module2
index: 000C
name: module3
index: 000D
name: module4
index: 000E
name: module5
index: 000F
name: module6
index: 0010
name: module7
index: 0011
name: module8
index: 0012
name: module9
index: 0013
name: module10
index: 0014
name: module11
index: 0015
...
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open source text file
2. ctrl-h open replace dialog
* in search for pattern, enter:

* in replace with pattern, enter:

3. click 'Replace', done.
4. ctrl-s save to file.
Download Script:  scripts/458.rst.zip

Screenshot 1:  Replace_Window


Similar Examples:
How to replace specified word with increasing binary sequence? (72%)
How to replace the same words in text files with different strings? (66%)
How to replace the second column of a file with an increasing number? (65%)
How to generate multiple line text with increasing HEX number? (64%)
How to extract text between specified start and end strings? (63%)
How to replace strings in multiple text files with an increasing id start from 1? (63%)
How replace the words with specified format by adding a number? (62%)
How to replace specified occurrance of some string to a list of words? (61%)

Check Demo of Advanced search and replace
Keywords:
increasing hex  hex string  index  increasing  hex  increas  strings  100  string  calc  word replace with increasing  replace strings  change word  replace all word  change text  file and replace to change the  replace word with file  file with word