Switch/If nodes: case sensitive/insensitive

End users sometimes need to detect strings in a case sensitive or insensitive mode.

Adding these options avoids using regex pattern or strict case sensitive.

Is it possible to add these modes to If and Switch nodes?

This would be pretty useful. At the moment, we can use a regex with an insensitive switch (e.g. /test/i). Despite that, people who don’t know regex (which are most people) would find it useful to have a checkbox to toggle case-sensitivity.

2 Likes

Apart from regex, the rule can also be defined like this to be case INsensitive

Value1: value_to_compare_to
Operation: equals
Value2: {{ $json.data.field.toLowerCase() }}

5 Likes