type PatternMaskOptions = {
pattern: string;
type: Pattern;
};
Properties
Property
Type
Description
pattern
string
The expected pattern for the input. The following wildcards are allowed: A = alphabetical character 0 = numeric digit * = any value These wildcards can be escaped by adding a backslash () preceding the wildcard. Examples: 000.000.0000 allows 123.456.7890 and 555.555.5555, but not ABC.DEF.GHIJ or 123.456 AAA-AAAA allows ABC-DEFG and XXX-YYZZ, but not 123-4567 or ABC-1234