Search Combo Box

You can use the Search combo box on the tool bar to search for ER text. Enter the text that you want to find in the Search combo box and then press either Enter or F3. If the system locates the search text in your ER text, it highlights the text. If you press Enter or F3 again, the next occurrence of your search text is located and highlighted.

The search control accommodates regular expression searches. A regular expression search uses special characters to match text. For example, ˆIf: will find every line that starts with If and If$: will find every line that ends with If.

The special characters that you can use for advanced searches are described in this table:

Character

Description

ˆ

The caret (ˆ) indicates the beginning of a line. For example, the expression ˆA matches an A only at the beginning of a line.

ˆ

The caret (ˆ) immediately after the left bracket ( [ ) is used to exclude any remaining characters within brackets from matching the target string. For example, the expression [ˆ0-9] indicates that the target character should not be a digit.

$

The dollar sign ($) matches the end of a line. For example, the expression abc$ will match the substring abc only if it is at the end of a line.

|

The alternation character (|) enables the expression on either side of it to match the target string. For example, the expression a|b will match a as well as b.

.

The dot (.) matches any character.

*

The asterisk (*) indicates that the character to the left of the asterisk in the expression should match 0 or more times.

+

The plus (+) is similar to the asterisk except that at least one match of the character should occur to the left of the + sign in the expression.

?

The question mark (?) matches the character to its left 0 or 1 times.

()

The parentheses affect the order of pattern evaluation and serve as a tagged expression that you can use to replace a matched substring with another expression.

[ ]

Brackets that enclose a set of characters indicate that any of the enclosed characters can match the target character.