Replace dialog:

These fields and options are available in the Replace dialog (in addition to the common options):

Replace dialog

Replace dialog, 'Simple Dialogs' version.

Search:
String or pattern to be searched. - If a block is highlighted, it is used as search string.
- If no block highlighted, this field may be initially empty or it may contain previous string used by wildfilew, or previous string used in any search (current search string). This can be selected from the options dialog.
- If you leave this field empty, previous search string is used.
Replace:
String or pattern that replaces the searched string. - This field may be initially empty or it may contain previous string used by wildfilew, or previous string used in any replace (current replace string). This can be selected from the options dialog.
- If you leave this field empty, the searched string is replaced with nothing.
Case sensitive
- check this box for case sensitive search.
Word
- check this to search whole words only.
Skip comments
- check this to ignore search strings that occur inside comments. Currently only recognizes C and C++ comments (although these work with many other languages, too, for example Java and Vedit macros.)
Search mode:
Simple - Silmple string search, no codes
Pattern - Use Vedit pattern matching codes
Regular Expressions    - Use Regular Expressions, minimal length
Reg Exp (Max) - Use Regular Expressions, maximal length
Display matched lines as:
Confirm each replace    - When occurrence found, the location is displayed and user is prompted for options (see below).
List with filenames - Create list of search results (after each replace done) with filenames and line numbers.
- Click this button to go back to Search dialog box. Any options you have entered so far will be retained.
- Expand dialog into Full Dialog. For additional options available in full dialog, see Additional fields in Full Dialog.

Confirm each replace

Assuming you selected "Confirm each replace" option, VEDIT will start searching the files until it finds the first occurrence of the search string. Similar to the {SEARCH, Replace} function, it will then highlight the text and prompt with Replace options.

Replace prompt
Replace this occurrence and search for the next occurrence showing the Replace options again.
Don't replace this occurrence; search for the next occurrence showing the Replace options again. You can selectively make some replacements skipping others.
Replace this occurrence and all remaining occurrences without any additional prompts.
Replace this occurrence and then cancel the process.
Enter Visual Mode in which you can make any desired editing changes. The bottom of the screen will prompt you to press to search for the next occurrence or to cancel the process.
Don't replace this occurrence; cancel the process.
NOTE: We highly suggest making a few selective replacements before selecting [All] for a global replacement. Otherwise, a mistakenly entered search or replace string could corrupt many, many files.

Related topics:

Command dialog
Search dialog
Fields common to all main dialogs
Additional fields in Full Dialog
Wildfile - Multi file processing