← All demos

pattern rule

Validates a field value against a regular expression (without delimiters).

Pattern: ^[0-9]5$
Pattern: ^\+?[\d\s\-]15$