If you are
not familiar with regular expressions, you can
use the Regular Expression Builder to look up regular-expression constructs
and easily create regular expressions.
The Regular Expression Builder
contains the properties of
a rule except for the attributes section. You can specify a matching
strategy and a regular-expression pattern. You can look at the various
regular-expression classes by clicking the appropriate tab, for example,
Character classes. You can add a construct by clicking the appropriate
button. You can also test the specified pattern.
The constructs
are appended to the current pattern except for the matching flags.
You can define matching flags for the whole pattern, constructs, however,
are inserted at the beginning of a pattern.
The following figure
shows the Regular Expression Builder with the specification for the
rule phoneNumbers.
Figure 1. The
Regular Expression Builder