Extended regular expressions

Formats are specified by means of extended regular expressions.

Extended regular expressions include the following additions:

  1. Special brackets [% and %]. Characters inside the brackets are supplemented with popular OCR errors.
    For example, [%S%] may allow S, $, and 5.
  2. Special words inside [%...%] for common character sets and OCR errors:
  1. LETTERS - Capital Latin letters and characters commonly recognized as capital Latin letters
  2. DIGITS - Digits and characters commonly recognized as digits
  3. LETERSANDDIGITS - Capital Latin letters, digits, and characters commonly recognized as capital Latin letters and digits

For example, [%DIGITS%]{9} specifies nine consecutive digits or common OCR errors for digits, e.g. "OI234Sb7B9".

25.05.2023 7:55:02

Please leave your feedback about this article

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.