Regular expressions

Regular expression (or regexp for short) is a special text string for describing a search pattern. You can get more information about basic syntax for setting regular expressions at http://www.regular-expressions.info/reference.html.

Examples of regular expressions:

  • [abc] matches a, b or c
  • [a-zA-Z0-9] matches any letter or digit;
  • [^a-d] matches any character except a, b, c or d
  • a{3} matches aaa
  • regular expression for ip address:
  • regular expression for email address:
    matches contact at abc.com

To get more information about setting regular expression as validation, check Validations.