Extended regular expressions
Formats are specified by means of extended regular expressions.
Extended regular expressions are regular expressions with additional functionality enclosed between an opening bracket followed by a percent character and a percent character followed by a closing bracket ([% and %]). Extended regular expressions have the following additional features:
- One or more characters inside the brackets are supplemented with popular OCR errors.
For example, [%S%] may allow S, $, and 5. - Special words inside [%...%] for common character sets and OCR errors:
- LETTERS — Capital Latin letters and characters commonly recognized as capital Latin letters;
- DIGITS — Digits and characters commonly recognized as digits;
- 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".
Note.If search results are not satisfactory, open the Advanced > Code tab in the element's properties, check the regular expression to make sure there are no mistakes, and then copy it to the Regular Expression box and check the alphabet.
4/12/2024 6:16:02 PM