Skip to main content
Regular expressions are used for simple languages to define what words are allowed in a language and what are not. The ABBYY FlexiCapture SDK regular expression alphabet is described in the following table: Examples of regular expressions:
  1. Postal code: [0-9]{6}. A sample value: “142172”
  2. Zip code (USA): [0-9]{5}(”-“[0-9]{4}){-1}.
Sample values: “55416”, “33701-4313”
  1. Income: N{4-8}[,]N{2}. Sample values: “15000,00”, “4499,00”
  2. Month in the numerical form: ((|“0”)[1-9])|(“10”)|(“11”)|(“12”). Sample values: “4”, “05”, “12”
  3. Fraction: (”-”|)([0-9]{1-})(|((”.”|”,”)([0-9]{1-}))). Sample values: “1234,567”, “0.99”, “100,0”, “-345.6788903”
  4. E-mail: [A-Za-z0-9_]{1-}((”.”|”-”)[A-Za-z0-9_]{1-}){-3}”@“[A-Za-z0-9_]{1-}((”.”|”-”)[A-Za-z0-9_]{1-}){-4}”.”([A-Za-z]{2-4}|“asia”|“museum”|“travel”|“example”|“localhost”) ”. Sample values: “support@abbyy.com”, “my-name@company.org.ru”, “info@gallery.museum”

See also

ISimpleLanguage::RegularExpression