Regex pattern
Enforce a strict format for text fields.
Steps
- Open your validator and go to Rules.
- Click Add rule.
- Choose a text-based property.
- Select Regex pattern and enter a pattern.
- Save the rule.
Examples
- Product ID must match
NV-1234format. - URL must start with https://
Tips
- Test your pattern on a few examples before applying.