qcenv.hlp (Topic list)
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 (4 of 4)
Use the Change command to search for one text string and
replace it with another. Once made, changes cannot be
reversed; that is, the Undo command has no effect.
 
The replacement can be made
  ■ Automatically, with <Change All>, or
  ■ Only after you signal approval, with <Find and Verify>
 
To alter the matching criteria for the search:
  ■ Turn on a whole-word search
  ■ Turn on a case-sensitive search
  ■ Use regular expressions to change a pattern of text
 
To cancel the Change command, select <Cancel>.
┌───────────────────────────────┐
│ Find What: [▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒]│── String to replace
│                               │
│ Change To: [▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒]│── New string
│                               │
│ [ ] Whole Word ──────────────│─── Match whole words only
│ [ ] Match Upper/Lowercase ───│─── Match exact case
│ [ ] Regular Expression ──────│─── Use regular expression
│                               │
└───────────────────────────────┘
Select one of these options to start the search and:
<Find and Verify>     Confirm each change
<Change All>          Change all instances without asking
<Cancel>              Cancel Change command
 
Period       .  Matches any single character
 
Caret        ^  Matches the beginning of a line
 
Dollar sign  $  Matches 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
 
Plus sign    +  Matches one or more occurrences of the
                character preceding the plus sign
Brackets    [ ] Matches sets of the characters specified
                within the brackets
 
Caret       ^   Matches any character EXCEPT those
                specified within the brackets; must be the
                first character within the brackets
 
Dash        -   Matches characters in ASCII order between
                the characters on either side, inclusive
 
Backslash   \   Interprets the next character literally
 
Hex value   \xx Ranges specified by ASCII hex values are
                allowed; \00 matches newline