Developer's Documentation for free mobile OCR SDK

Documentation Menu

setRegEx method of the IFieldBuilder interface

Sets the regular expression that should match the field's text.

Note: The regular expression syntax is derived from ICU regular expressions, with some minor features not supported. See the Regular Expressions section in the ICU User Guide.

IFieldBuilder setRegEx( String regEx );

Parameters

regEx

A string describing the regular expression.

Return values

The method returns the IFieldBuilder instance to which it belongs.