Validation Regex Property in Forms Builder
Validation Regex is the regular expression pattern to validate the input. Use a site like http://RegExLib.com to search and test Regex patterns, or construct your own with Regex tools like Expresso. If the user input does not produce a Regex match, the "Validation message" will be displayed.
Examples
Regex that enforces a minimum of 11 digits for a phone number where the first digit must be "1":
1\d{10}
Regex that enforces a phone number in the format (###)###-####:
^\([0-9]{3}\)[0-9]{3}\-[0-9]{4}$
Regex that matches a hyphen-separated social security number:
^\d{3}-\d{2}-\d{4}$