Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

OR operators for triggers

Rupert
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 16, 2025

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!

 

1 answer

0 votes
Mike - Dreamsuite Consulting
Community Champion
November 16, 2025

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:

https://community.atlassian.com/forums/Trello-articles/Mikes-Trello-Tips-Automation-to-truncate-a-numeric-custom-field/ba-p/2385182 

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:
Screenshot 2025-11-17 14.14.42.png

Screenshot 2025-11-17 14.14.50.png
Screenshot 2025-11-17 14.14.56.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events