Hi there
Just getting started with rules on Trello to filter incoming cards (from an external application).
can’t figure out how to match for cards containing this text OR another text?
Any pointers are much appreciated!
Hi @Rupert
You can do this by using regex in your automation.
I recommend you look at this article I wrote some time ago which has some handy regex tips:
You can also get ChatGPT (and others) to write the regex for you, the accuracy is excellent.
For the simple OR you are looking at, you can amend this automation to your liking:
when a card containing "regex:/(Task A|Task B|Task C).*/i" is added to the board, move the card to list "Tasks"
To break it down, the | character is the OR separator in regex. The .* at the end means it will match anything that follows Task A|Task B|Task C. For example if the Card arrives with the name Task A - Build the automation.
In Trello automation, regex must begin with regex:/ and it must be closed out with /
In the example above the /i is used to make it case insensitive.
Let me know if you have any other questions. Here are some screenshots to help:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.