What is custom regex?
Custom regex is a method used in programming for pattern matching, and is a type of data validation. Supported JavaScript regexes are supported in this custom data validation.
You can add custom regex as a validation option for textbox fields on your documents.
How to add custom regex to your document in the Dropbox Sign editor
To add custom regex:
- Add a textbox field to your document.
- Click the textbox.
- Click the Validation dropdown.
- Select Custom regex.
- Enter your custom regex under Specify a regular expression, for example, [A-Z][a-zA-Z]+,[ ]?[A-Z]{2}.
- Enter a description under Regex label, for example, “City, ST”. This text will appear in the error message that shows if an entry doesn't match your requirements.