How to use regex in au2mator

Modified on Wed, 6 Dec, 2023 at 4:07 PM

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


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

RegexDescription
\+\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

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article