Regular Expression Pattern: (include the delimiters)

Test Subject:

Help for Perl Compatible Regular Expressions, #2

This is a test form for basic regular expression matching.

This builds on the information in the previous version. The following table shows the meta-characters that can be used to build the match expression.

TABLE 14.1 Meta-Characters
Character Meaning
\ Escape character
^ Indicates the beginning of a string
$ Indicates the end of a string
. Any single character except newline
| Alternatives (or)
[ Start of a class
] End of a class
( Start of a subpattern
) End of a subpattern
{ Start of a quantifier
} End of a quantifier

You can enter patterns and subject strings in the text entry boxes, and click the "Test!" button to run the match. The "Load Sample Text" buttons will fill some sample text values into the form. The samples show a few uses of the regular expression meta-characters.