Programmer's WorkBench (pwb.hlp) (Table of Contents; 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.
Search Menu, Replace Command
                                             Up Contents Index Back
─────Programmer's WorkBench─────────────────────────────────────────────────
 
     Search menu, Replace command
 
     Choose Replace to perform a plain-text or regular-expression
     find-and-replace operation on the current file or a list of files.
 
     Find Text            Specifies the text or pattern.
     Replace Text         Specifies the replacement text or pattern.
 
     Match Case           Matches the letter case of the find text.
     Regular Expression   Matches using regular expressions (patterns).
                          The current regular-expression syntax is
                          shown in parentheses.
     Wrap Around          Wraps around the ends of the file.
 
     Find and Verify      Prompts for confirmation at each match.
     Replace All          Replaces all matches without prompting.
 
     Files                Brings up a dialog box where you can build a
                          list of files and wildcards to scan.
 
     To replace text or a regular expression in multiple files:
 
       1. Turn on any search options you want.
 
       2. Choose Files.
 
          PWB displays the Replace in Selected Files dialog box where
          you can build a list of files and wildcards to scan.
          See: Replace in Selected Files
 
       3. Choose OK.
 
          PWB immediately begins searching and does not return to the
          Find dialog box.
 
     TIP: To enter a tab character or other special character in the
          Find Text box, use the Quote function («quote»).
          See: Quote, Inserting ASCII Characters
 
     See
 
     Mreplace, Mreplaceall, Qreplace, Replace, Searchwrap, Unixre
     Regular Expressions
                                    -♦-