
Meta Information
AXIS 7100 User’s Manual
136
Notes:
Some more examples of regular expressions:
"i{2,}"
only "ii", "iii", "iiii", ...
"i{,2}"
only "" "i" and "ii"
"^qwerty"
"qwerty" correct but not "aqwerty"
"qwerty$"
"qwerty" correct but not "qwertyu"
•
infix
notation:
Structure notation where the operator is located between the oper-
ands, e.g. (A+B).
•
postfix
notation:
Structure notation where the operator follows the operands, e.g.
(A,B)-.
• *The upper limit for repetitions is set to 48. (This limitation does not
apply if the
Editable
attribute in the XML DTD is set to
NO
)
Example
Description
"[0-9]{2}/[0-9]{2}/[0-9]{4}"
Date DD/MM/YYYY
"[a-zA-Z]+)|([a-zA-Z]+.[a-zA-
Z]+)@[a-zA-Z]+.[a-z]{2,3"
E-mail address
:
[email protected]
[email protected]
"(\([0-9]{3}\))?[0-9]{3}[
]{,1}[0-9]{4}"
Telephone number
"(123) 123-1234"
"(123)1231234"
"(123) 123 1234"
"[a-zA-Z ]+"
Name
:
"John Doe"
"John"
"[0-9]{2} ?[0-9]{3}"
ZIP code
"12345"
"12 345"
"(1|2|3|4|5|6|7|8|9|10|11|12):[
0-9]{,2}(:[0-9]{0,2})
?(AM|am|Am|PM|pm|Pm)"
Time :
"1:05:59 AM"
"1:05:59 am"
"1:05:59 PM"
"1:05:59 pm"
"1:05 AM"