next up previous
Next: Special pattern matching character Up: Some useful Perl Previous: Some useful Perl

Regular Expressions

A regular expression is a template or pattern to be matched against a string.

In Perl a regular expression is enclose inside two slashes: /regular_expression/

The regular expression may contain:



Dave Marshall
9/28/2001