Patterns

data object Patterns

Common regular expressions used for form validation

Properties

Link copied to clipboard

An RFC-5322-compliant email regex. Most commonly used among web services. Main features:

Link copied to clipboard

An international phone number regex with delimiters allowed.

Link copied to clipboard

An international phone number regex, that does not allow delimiters.

Link copied to clipboard

A password-type regular expression with the following properties: These password requirements are commonly used, but you are encouraged to use your own regex if needed

Link copied to clipboard

A web url starting with either http, https, www and then containing a domain-specific part and optionally a path