October 20, 2023

Regex Validation

Require values match the specified regex

We now support regex validations. Developers can leverage this validation by using "validate":"regex" within the template columns array. Check the docs for more details.

{
  "columns": [
    {
      "name": "SKU",
      "required": true,
      "data_type": "string"
      "validations": [
        {
          "validate": "regex",
          "options": "^[a-zA-Z0-9]*$"
        }
      ]
    }
  ]
}

What's Next?

We'll be adding many more validation options over the coming weeks. If you have any feedback or ideas for which validators we should prioritize next, reach out through our GitHub repository or community Slack.

To the top
Background graphic with dots