“Character masks” is one of the patterns that you can select on the Match panel. With this pattern you can easily make a field match a certain combination of letters, digits, and punctuation. This pattern uses text masks similar to the masks used by masked edit controls in various development tools to force the user to enter a certain combination of letters, digits, and/or punctuation.
This example shows how you can use the “character masks” pattern to easily match an SKU code that consists of 6 letters identifying the supplier, a hyphen, and 3 digits indicating the product number. You can find this example as “Pattern: character masks” in the RegexMagic library.
Required options: Case insensitive.
Unused options: Exact spacing; Dot doesn’t match line breaks; ^$ don’t match at line breaks; Numbered capture.