■ How to read regular expressions
Regular expressions are used to create rules. This section explains how to read regular expressions.
Sample Regular
Expression
^
\d
\d[46]
\d[2-9]
\d{8,15}
$
Preset pattern for Japan in regular expressions:
^1\d{2}$ →
1
Two-digit half-width digits
^0\d{9,10}$ →
^18[46]0\d{9,10}$ →
^\+\d{8,15}$ →
When "^" is followed by
non-numeric
characters, type "\".
Table 39: Regular expressions.
Beginning of a pattern
Half-width digit
4 or 6
One of 2 to 9
8 to 15 sets of numbers
End of a pattern
0
・・・
9 to 10 sets of half-width digits
1
8
Half-width digit 4 or 6
+
・・・
8 to 15 sets of half-width digits
Figure 355: Preset patterns for Japan.
Meaning
・・・
0
9 to 10 sets of half-width digits
272