7.5

Table Of Contents
1.
Click on the button to add a new entry.
2. Double-click in the Name box and enter a name for the expression.
3. Double-click in the Value box and enter the desired expression (see below).
Custom Masks
Custom masks are not as powerful as regular expressions but they offer two distinct advantages. First, Custom masks will
automatically divide the Multi-Area Field in which they are used into the correct number of expected boxes and any static char-
acters used in the mask will output in the Capture Field Box when printing. Second, Custom masks are simpler to use and have
a one-on-one relationship between the mask and its output.
Accepted Characters
Each character, except for \, is deemed to be a single expected character, so the number of captured characters is not variable
l 9 :Indicates any numeric character from 0 to 9.
l A:Indicates an alphabetic character from A to Z. The character will be converted to uppercase.
l X:Indicates an alphanumeric character from 0 to 9 or Ato Z. Alphabetical characters will be converted to uppercase.
l a:Indicates an alphabetic character from a to z. The character will be converted to lowercase.
l x: Indicates an alphanumeric character from 0 to 9 or a to z. Alphabetical characters will be converted to lowercase.
l @:Indicates a lower or upper case alphabetic character from a to z. Case is kept as entered.
l #: Indicates a lower or upper case alphabetic character from a to z or any number between 0-9. Case is kept as
entered.
l \ followed by any character:Indicates a literal character. These characters will not be written by the client but rather
output in the mask when printing the Capture Document.
Examples
These examples should clarify how the accepted characters should be used:
Mask Description Examples
\(999\)999\-
9999
Canadian phone number with the area code
(514)875-
5863
(800)555-
1234
\(999\)999\-
9999\
\E\x\t\.999
Canadian phone number with area code and extension
(514)875-
5863 Ext.123
(800)555-
1234 Ext.432
\+9\(999\)999\-
9999
Canada/USphone number including area code and country code.
+1(800)555-
1234
\P\R\O\D\-
XXXXX\-AAA\-
99999
Aproduct number made of 5 alphanumerical characters, 3 letters and then 5 numbers.
PROD-
5G32B-ADE-
23643
PROD-
IPHON-TGS-
16000
999\-9999 AJapanese postal code, which is digits only
325-6731
812-2298
99999 A5-digit USzip code
90210
32454
©2010 Objectif Lune Inc - 170 -