Programmer's WorkBench (pwb.hlp) (Table of Contents; Topic list)
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'.
                                    -♦-