Separator (IF Contains)

Hi.

I use an IF node (Contains, Not Contains) to check for specific words in one of my workflows.

Is it possible to use a separator to check multiple words at the same time or do I need to create multiple condition blocks?

Something like:

orange | apple | grape

Thanks.

Use the regex option in the drop down rather than the ‘Contains’.
with the value as:
(orange | apple | grape)

I use this for regex checking https://regex101.com/

It’s a bit quirky but widely used - see:

Matches:

No Matches:

Good luck

2 Likes

Thanks, @whitbym.

I made some initial tests and probably it works for my case.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.