Skip to main content

Regex pattern

Enforce a strict format for text fields.

Steps

  1. Open your validator and go to Rules.
  2. Click Add rule.
  3. Choose a text-based property.
  4. Select Regex pattern and enter a pattern.
  5. Save the rule.

Examples

  • Product ID must match NV-1234 format.
  • URL must start with https://

Tips

  • Test your pattern on a few examples before applying.