Validation RegEx

Keystyle Support Team -

In Checklists, Onboarding, and Request Settings you can add in a validation regular expression to only allow the user to input data in a specific way.

Here are a few samples with their Validation RegEx listed below them:

  • Social Security Number: 123-45-6789
    • \d{3}-\d{2}-\d{4}/ig

  • Phone Number: (555) 555-5555
    • [(]\d{3}[)] \d{3}-\d{4}/ig

  • Email Address:
    • /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/

  • ZIP Code: 91016
    • /\b\d{5}\b/ig

  • Bank Account: 00000123456789012
    • /\b\d{17}\b/ig

  • Routing Number: 123456789
    • /\b\d{9}\b/ig

Have more questions? Submit a request


Please sign in to leave a comment.
Powered by Zendesk