Computer Services & Repairs
Chicago and Suburbs
 

Table of Contents


 

6.08 Extended Regular Expression

Symbol

Description

ab+c

a followed by one or more b's followed by a c

Example:

yabcx abbbbc94


'ab?c'

a followed by nothing or one b followed by a c

Example:

back abcdef


'(ab)+c'

one or more occurrences of the string ab followed by a c

Example:

zabcd abcabcxy


'(ab)?c'

no or one occurance of the string ab followed by c

Example:

xc abccc


'ab | ac'

either ab or ac

'^Exit|^Quit'

any line that begins with Exit or Quit

Example:

Exit Quit No Exit


'(D | N) |. Jones'

D.Jones or N.Jones

Example:

P.D. Jones N.Jones


 
 
   

Copyright 2006 © Burnnet Computers LLC.