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.
UNIX Regular Expression Examples
 Description                               Up Contents Index Back
─────Programmer's WorkBench─────────────────────────────────────────────────
 
     To find the next occurrence of a number (a string of digits)
     that begins with the digit 1 or 2:
 
       1. Execute Arg Arg («arg» «arg»)
 
       2. Type '[12][0-9]*'
 
       3. Execute Psearch («psearch»)
 
     Special characters are most powerful when they are used together.
     For example, the combination of the wildcard (.) and repeat (*)
     characters:
 
          .*
 
     matches any string of characters. This expression is useful when
     it is part of a larger expression, such as
 
          B.*ing
 
     which matches any string beginning with 'B' and ending with 'ing'.
                                    -♦-