User Guide

Automated Forms Processing
Data format checks
Once FormReader finishes recognizing the data, it will check
whether the results conform to the format specified in the template.
Let is take a closer look at this type of check using a Serial Number
field as an example. Suppose the serial number must have the fol
lowing format:
SNFRnnnnnnnn,
where n is a digit
When creating the template, the user can
write a regular expression
that describes this
format:
An error has been detected on this page  the date has the wrong format.
A regular expression used to check the format of data.
FormReader will use this regular expression to make sure that
the data entered into the Serial Number field conform to the set for
mat. Those pages on which the regular expression reports an error
will be marked with a warning flag. This approach helps to detect
such tricky errors as "o" instead of "0", "l" instead of "1", etc. There are
several gradations of flags  some serve to alert the operator, others
will prevent the form from further processing until the operator has
made the necessary corrections..