Matching multiple extensions

Hi!
Would like to match a list of extensions for Hazel to work on, e.g. I want to match .pdf, .doc and .txt and do (something) with it,
in addition to the fact that the rule should only work if another condition matches.
In classical programming I would use
I can't find an option to insert a subcondition, nor have I found out how to write an OR in the pattern matching.
Is this even possible? How?
Best regards,
SnakeZZ
Would like to match a list of extensions for Hazel to work on, e.g. I want to match .pdf, .doc and .txt and do (something) with it,
in addition to the fact that the rule should only work if another condition matches.
In classical programming I would use
- Code: Select all
(exp1 OR exp2) AND exp3
I can't find an option to insert a subcondition, nor have I found out how to write an OR in the pattern matching.
Is this even possible? How?
Best regards,
SnakeZZ