Replace text dialog window

Choose Replace (Ctrl+R) to display the Replace Text dialog window. 

Find and replace dialog

Specify text you want to search for and then replace with other text. Most options of the Replace Text dialog window are identical to those in the Find Text dialog window. Enter the replacement text. To select from a list of previously entered search strings, click the down arrow next to the input box.

Dialog box options

Option Meaning
Text to search A search string. You can click the down arrow next to the input box to select from a list of previously entered searches.
Replace with
Case sensitive Match unicode letter case. Differentiates uppercase from lowercase when performing a search.
Whole words only Searches for words only. In other words, match only text at end or start and (or) surrounded by white spaces. If this option off, the search text might be found within other words.
Regular expressions Recognizes regular expressions. If this option is selected, new two options appears:
  • Space compress - handle several consecutive white spaces as one white space. This applies to the pattern as well as the search text.
  • Ignore non-spacing chars
Origin   Where the search starts:
  • From current position - the search starts at the cursor's current position;
    Entire - the search covers either the entire block of selected text or the entire file.
Scope Two options available:
  • Global - the entire file
  • Selected text - searches only the selected text
Direction Direction to search:
  • Forward - from the current position to the end of the file;
  • Backward - from the current position to the beginning of the file.
Where Which files to search:
  • Search current file - searches file that is current;
  • Search all open files- searches files that are currently open;
  • Search in directories - when selected, the Search Directory Options are available:
Replace All button Click Replace All to replace every occurrence of the search string 

See also:  regular expressions Find text dialog Keyboard shortcuts XPath Query XPath expressions