Validate with Regular Expressions! (advanced)

Do you want to use Regular Expressions to validate your input? Yes, you can! But be aware that RegEx is a very delicate language and takes some time and effort to understand. Luckily there is quite some helpful website to get you going.

Note: Please know that we support a plain syntax (new RegExp(pattern[, flags]) - the one used in JavaScript.). At the bottom of this page, you can find some very helpful links to get you going with RegEx!

So adding it is simple: Just add a Short text Step to your bot and add the RegEx at the 2. Answers & options section. At the bottom of the 3. Bot Responses you can add the Invalid response, which is shown if the input doesn’t validate based on the input of the user .

Edit this page

See also