Validation Expressions

Last Updated: Dec 10, 2019
documentation for the dotCMS Content Management System

There are 8 predefined regular expressions that can be used to restrict data entry on certain Content Type fields to specific formats. In addition to the pre-defined regular expressions below, it is possible to customize your own Regular Expression by simple typing the dode in the blank field to the right of the “Validation RegEx” drop down menu.

Validation Expression

Below is a list of basic Regular Expressions included in dotCMS that serve as examples of data entry validation.

  • Email:

  • Numbers only:

  • Letters only:

  • Alphanumeric:

    • US Zip Code:
  • US Phone:

  • URL Pattern:

  • No HTML:


On this page


We Dig Feedback

Selected excerpt: