Common regex patterns
There are a couple of scenarios where regex can help to make sure that a survey is shown on the correct page or pages. We list some of these situations and the regex pattern that can be used below.
To test regex patterns we recommend a third-party site called regex101.
Show a survey only on a specific page (for example the homepage)
example\.com(\/$|$|\?|\/\?)
Show a survey on all pages except a specific page (for example excluding the homepage)
example\.com(\/\w+)
OR condition
For example to check two paths in one URL condition
example.com\/(shop|login)\/
Case insensitivity
URL conditions are case sensitive, to make them case insensitive, you can add the /i
flag :
example\.com/i
Remember to enable regex in the deployment condition, otherwise it will not work
Looking for labels? They can now be found in the details panel on the floating action bar.
Related content
How do I anonymize customer data?
How do I anonymize customer data?
More like this
Embedded form in FAQ case
Embedded form in FAQ case
Read with this
Mopinion Knowledge Base
Mopinion Knowledge Base
More like this
Which cookies do we use?
Which cookies do we use?
Read with this
Form help articles
Form help articles
More like this
How does form logic (question routing) work?
How does form logic (question routing) work?
More like this