Replace

The Edit | Find and Replace | Replace option works much the same way as the Find option (see "Find"). Once the text is found, however, you can replace that text by using the Replace dialog box.

Replace dialog box

You can search and replace with any matching string as long as the last part of the string corresponds to an editable field, and as long as it is the only editable field in the string that will be changing.

A Valid Find and Replace Example:

Find string:

=AUTO/CIRCLE,SHOWALLPARAMS = NO

Replace string:

=AUTO/CIRCLE,SHOWALLPARAMS = YES

Notice that the end of the string corresponds to an editable field. You can only change the last editable field of the search string.

Find and Replace Examples That Are Not Valid:

You cannot replace two editable fields in one replace as in this example:

Find string:

=AUTO/CIRCLE,SHOWALLPARAMS = NO

Replace string:

=AUTO/LINE,SHOWALLPARAMS = YES

This is not valid because CIRCLE to LINE is one editable field, and NO to YES is another editable field.

You cannot replace an editable field with a non-editable field as in this example:

Find string: =AUTO/CIRCLE,SHOWALLPARAMS
Replace string:

=AUTO/CIRCLE,MYSHOWALL

This is not valid because MYSHOWALL is a constant and not an editable field.

More:

Find What

Replace With

Match Whole Word Only

Match Case

Pattern Matching

Find Next Button

Replace Button

Replace All Button