Using Regular Expressions

Pattern Matching

Table C-1

Description of Special Characters in Regular Expressions

 

 

 

 

 

To…

Use…

Example

 

 

 

 

 

Treat a composite

(composite_expres

To match ab followed by

 

expression within

sion)*

a string repeated any

 

parenthesis as a

 

number of times (for

 

single expression

 

example, ab1, ab2ab3,

 

to be repeated

 

ab2ab3,ab4), enter:

 

 

 

(ab[0-9])*

 

 

 

 

360

Appendix C