I have a page containing multiple tabs per region. 

![enter image description here](https://i.stack.imgur.com/9662B.png)

Each row in the table has a class with each region that its impacted by.

`<tr class="apac emea americas">...</tr>
 <tr class="apac emea">...</tr>`

When a tab is clicked, it filters out the table and removes anything where the condition is not met.

`$('#' + tab).find("#trainingEvents .results tr:not(.Americas.EMEA.APAC)").remove();` <- This is the ALL tab

Each of the tabs is pretty easy to understand except for "Multiple" which is what my question relates to.

The condition needs to be, remove rows that do not contain 2 of the 3 possible regions. 
For example: 

`<tr class="amea apac"></tr>` = True

`<tr class="apac">...</tr>` = False, Remove it

How can I accomplish this filter? Just needs to meet any 2 combinations of the 3 possible options