Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Change Command - Regular Expressions (3 of 3)
Use the Change command to search for one text string
and replace it with another. The replacement can be made
automatically, with <Change All>, or after you signal
approval, with <Find and Verify>.
In looking for a text string, you can
■ Turn on a whole-word search
■ Turn on a case-sensitive search
■ Use regular expressions to search for a pattern
of text
Once made, changes cannot be reversed with the Undo
command. To cancel the Change command, select <Cancel>.
┌───────────────────────────────┐
│ Find What: [▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒]│◄── String to replace
│ │
│ Change To: [▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒]│◄── New string
│ │
│ [ ] Whole Word ◄──────────────│─── Match whole words
│ [ ] Match Upper/Lowercase ◄───│─── Match exact case
│ [ ] Regular Expression ◄──────│─── Use regular
│ │ expression
└───────────────────────────────┘
Select one of these options at the bottom of the screen:
<Find and Verify> Confirm each change
<Change All> Change all instances without asking
<Cancel> Cancel Change command
Period . Matches any single character
Caret ^ Matches text at the beginning of a line
Dollar sign $ Matches text at the end of a line; must
appear at the end of the text
Asterisk * Matches zero or more repetitions of the
character preceding the asterisk
Backslash \ Interprets the next character literally
Brackets [ ] Matches any of the characters specified
within the brackets --including
Caret ^ Matches any character EXCEPT those
within the brackets; must be the
first character within the brackets
Dash - Matches characters in the ASCII order
between the characters on either
side, inclusive