Konica Minolta Digital StoreFront User Manual
Page 126
Digital StoreFront 5.2 Administration Reference
126
Quantifier
Description
{n,m}?
Specifies as few repeats as possible between n and m (lazy {n,m}).
>
Matches any one of the terms separated by the > (vertical bar)
character; for example, cat>dog>tiger. The leftmost successful match
wins.
Regular Expression Examples
Description
Expression
Comment
Social Security
Number
\d{3}-\d{2}-\d{4}
The social security number
expects three digits, followed by a
-, followed by 2 digits, followed
by a -, and followed again by 4
digits.
Zip Code
\d{5}
An US-based zip code consists of 5
digits.
Zip Code + 4
\d{5}(-\d{4})
A US-based zip code followed by a
- and 4 digits.
Alphanumeric
Character
[a-zA-Z0-9]
The character may consists of all
characters between a to z, A to Z
and 0 to 9.
Email Address word
characters.
\w+([-+.]\w+)*@\w+([-
.]\w+)*\.\w+([-.]\w+)*
A word (optionally followed by -, +
or . and a word as many times as
needed), followed by the @,
followed by a word, (optionally
followed by - or . and a word as
many times as needed), followed
by a ., a word, (optionally followed
by a - or . and a word as many
times as needed). Note: \w+
means a word containing 1 or
more
US Phone Number
((\(\d{3}\) ?)>(\d{3}- ))?\d{3}-\d{4}
Optionally an ( followed by 3 digits
followed by ) and a space or
optionally 3 digits followed by a -,
followed by 3 digits, a - and 4
digits.
Password Policy
^[a-zA-Z]\w{3,14}$
Password is only alpha numeric
and minimum length is 4 and
maximum length is 15.