We use comparison criteria in multiple places in e-satisfaction configuration, usually in conditions like Pipelines, Jumps, Monitors etc.
Each condition usually has a type, the entity to compare, the criteria and the value to compare against. Here is a full list of all the criteria that se support:
Not Contains comparison criteria works best with open-text questions. When selecting "Not Contains", leave the value empty as it is not needed. The comparison cannot detect a word or an expression, that's why we suggest to leave it blank.
Contains works only with detecting if the text contains the given value in full. For example, if you write down "books, pens", the logic will search in the text for the string as is "books, pens".
Will match:
This shop is perfect for buying books, pens and other stuff for your office.
Will NOT match:
This shop offers books in an excellent price. On the other hand, pens are very expensive.
In order to detect both works "books" and "pens", you should use "Regular Expression".
You can select regular expression for more advanced conditions. This is extremely helpful with open-text questions as well, as you can detect expressions or words that are part of the text.
To continue with the previous example with "books" and "pens", in order for a text to contain those values you should add as value the following (do not forget to add / at the beginning and at the end of the expression):
/(books|pens)/
And it will detect the following:
This shop offers books in an excellent price. On the other hand, pens are very expensive.