setRegEx method of the IFieldBuilder interface

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

 Note: For details on regular expression syntax supported in ABBYY Mobile Capture SDK, see the Regular Expressions section.

 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.

02.03.2022 12:59:15

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.