Embedded Regex
Name
Pure Letters
Number and Letters
Postcode
IP Address
Add Custom Regex
In addition to the regex that are embedded in the app, you can create custom
expressions to refine scanning results and improve accuracy. Smart OCR uses
standard regex expressions and formatting (i.e., ^, ., $, { }, etc.).
To add a regex:
1. With the Result Regex tab selected, tap the plus sign.
2. In the Regex field, enter the expression.
3. Enter a Name for the expression. The Name cannot be used by another
4. On the Test line, enter characters that you would expect to match the Regex.
48
Regex Pattern
^[A-Za-z]+$
^[A-Za-z0-9]+$
[1-9]d{5}(?!d)
d+.d+.d+.d+
To make entering an expression easier, the app provides Regex Easy Select
options with commonly used formats. Select the Numbers, Letters, or Date tab
then tap the item you want to use. The code is added to the Regex line. You can
use this code as it appears or modify it based on your need.
The app verifies that the regex is valid. If it is not, an error message is displayed.
An invalid expression cannot be saved.
expression.
The app checks if the regex matches the string. Matching characters are shown
in green, and the word "Matched" is displayed if the string matches the regex.
In this example, the Regex looks for six consecutive numbers. The letters and
extra numbers will be filtered out of the result. The Test field shows what
matches the Regex.
Example
fhghlflAsklZRshgWQRQ
Fhgh789lflA456sklZRshgW97QRQ
215000
192.168.1.1
456.4547.454.1548
CT30 XP Mobile Computer Series User Guide