IBM 15 Switch User Manual


 
124
Chapter 7
Figure 7-12
Find/Replace dialog box
E With the cursor in a text area, press Ctrl+F to access the Find/Replace dialog box.
E Enter the text you want to search for, or choose from the drop-down list of recen tly searched items.
E Enter the replacement text, if any.
E Click Find Next to start the search.
E Click Replace to replace th e current selection, or Replace All to update all or selected instances.
E The dialog box closes after each operation. Press F3 from any text area to repeat the last nd
operation, or press Ctrl+F to access the dialog box again.
Search Options
Match case.
Species whether the nd operation is case-sensitiv
e; for example, whether myvar
matches myVar. Replacem ent te xt is always inserted exactly as entered, regardless of th is setting.
Whole words only.
Species whether the nd operation matches text embedded within words. If
selected, fo r example, a search on spider will not match spiderman or spider-man.
Regular expressions.
Species whether regular expression syntax is u sed (see next section). When
selected, the Whole words only option is disabled and its value is ignored.
Selected text only.
Controls the scope of the search when using the Replace All option .
Regular Expression Syntax
Regular expressions allow you to search on special characte r s such as tabs or newline character s,
classes or ranges of characters such as a through d, any digit or non-digi t, and boundaries such as
the beginning or end of a line. The following types o f expressions are supported.
Character Matches
Characters
Matches
x
The character x
\\ The backslash character
\0n The character with octal value 0n (0 < = n <= 7)