Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

444.Advanced search and replace -- Can Replace Pioneer allow user select "Yes" or "No" for each replace?

User: editor -- 2010-03-11
Hits: 78
Type: Advanced search and replace   
Search all Advanced search and replace examples
Description:
Can Replace Pioneer allow user select "Yes" or "No" for each replace?

Many text editors like Notepad support search and replace each string with a prompt to confirm with user, but they can not handle complex replace.
Replace Pioneer support very powerful replace function, however, can Replace Pioneer support a "yes" or "no" prompt for each replace operation?
Answer:
Hint: You need to Download and install "Replace Pioneer" to finish following steps.
A good question. 
At the moment, Replace Pioneer do not support explicit 'Yes' or 'No' prompt for each replace. 
However, with strong engine inside, we can use following way to Launch a "YesNoCancel" window, to get user's confirmation for each replace.
Assume you want replace 'old' with 'new':
1. ctrl-o open source text file
2. ctrl-h open 'replace' window
* in 'search for pattern' enter:

* in 'replace with pattern' enter:

* in 'if=>', enter:


3. Click 'Replace', user will be prompted for confirmation of each replace with 'Yes', 'No' or 'Cancel'

Note: Above procedures are far from perfect, it just works.
Download Script:  scripts/444.rst.zip

Similar Examples:
Can Replace Pioneer provide a prompt to confirm yes or not for each text replacement? (65%)
How to delete all text after the second comma in each line? (49%)
How to sort many lines by comparing the second word in each line? (44%)
How to remove consecutive space and table keys at the end of each line? (43%)
How to decode all 8-bits binary sequences into English chars? (43%)
How to merge many files into one file, and add filename before each file? (43%)
Replace first char of each line to upper case (43%)
How to add all numbers by 30 after symbol ":" in each line ?
(42%)

Check Demo of Advanced search and replace