We provide the Feature for some Questions to control the entered values with Regular Expression. Regex can be handy to make sure Users correctly enter Data.
TABLE OF CONTENTS
For some question types, you can use regular expressions to control the value entered by the user.
Step 1: Build your Regex
- We recommend to use "https://regexr.com/" to build and test your regex for au2mator
Step 2: Configure your Question
- Select the Question Type where Regex can be configured.
Step 3: Enter Regex
- Enter the Regex and Validation Message as needed.
Examples
Regex | Description |
---|---|
\+\d{1,3}\/\d{1,10}\/\d{1,10}$ | Telephone number in the Format +43/664/452152 |
^([a-z]|[A-Z]|[-]|[ö]|[Ö]|[ä]|[Ä]|[ü]|[Ü]|[ ]|[ß]|[.])*$ | Only allow the following Characters a-z A-Z Öö Ää Üü ß blank – |
\+\d{1,3}[ ]\d{1,10}[ ]\d{1,10}\-\d{1,1}$ | Telephone number in the Format +43 664 452152-0 |
^[^#]*$ | Make sure no "#" is allowed. |
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article