setRegEx method of the IFieldBuilder interface

Documentation Menu

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

note Note: For details on regular expression syntax supported in ABBYY Real-Time Recognition SDK, see the Regular Expressions section.

warning Important! If the field contains two or more matches for the specified regular expression, the engine will extract and return only the first one.

IFieldBuilder setRegEx( String regEx );

Parameters

regEx

A string describing the regular expression.

Return values

The method returns the IFieldBuilder instance to which it belongs.