The Find / Replace Dialog

The Find / Replace dialog is opened from menu Find > Find / Replace... (Ctrl+F) or the toolbar button Find / Replace.

Find / Replace Dialog

Use this dialog to perform the following operations:

The find operation works on multiple lines, meaning that a find match can cover characters on more than one line of text. To input multiple-line text in the Text to find and Replace with areas:

You can use the Perl 5 regular expressions to define patterns. A content completion assistant window is available in the Text to find and Replace with areas to help you edit regular expressions. It is activated every time you type \(backslash key) or on-demand if you press Ctrl-Space.

The replace operation can bind Perl 5 regular expression group variables ($1, $2, etc.) from the find match.

To replace an XML tag called tag-name with the tag tag-name1 use <tag-name(\s+)(.*)> in the Text to find area and <tag-name1$1$2> in the Replace with area.

The dialog contains the following options: