# Advanced Filters

To add an advanced matches filter, select "matches (advanced)" from the filter's drop-down menu.

In the text field, enter your filter expression.&#x20;

<figure><img src="https://1800800006-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCgjz9nFZqIwynK1SO4gz%2Fuploads%2FE3uBULwipF1tgJQEin1e%2Fimage.png?alt=media&#x26;token=9ad19c1c-5dc5-4a34-9da8-2c554e0b94d7" alt=""><figcaption></figcaption></figure>

#### Filter Expressions

Filter expressions in ChainArgos are not case-sensitive.&#x20;

To enter a special character in a "matches (advanced)"  filter, first add a leading carat `^`. For example, to filter on `hamas, terrorist`, you would enter `hamas ^, terrorist`.

<table><thead><tr><th width="240">Example Filter Expression</th><th>Description</th></tr></thead><tbody><tr><td><code>foo</code></td><td>is equal to "<code>foo</code>" exactly (not case-sensitive)</td></tr><tr><td><code>foo ^, bar</code></td><td>is equal to either <code>foo</code> or <code>bar</code>, exactly</td></tr><tr><td><code>%foo%</code></td><td>contains "foo" in any part of the result, matches with "buffoon" and "fast food"</td></tr><tr><td><code>foo%</code></td><td>starts with "foo", matches "foolish" and "food" but not "buffoon" or "fast food"</td></tr><tr><td><code>%foo</code></td><td>ends with "foo", matches "buffoo" and "fast foo" but not "buffoon" or "fast food"</td></tr><tr><td><code>f%od</code></td><td>starts with an "f" and ends with "od", matches "fast food"</td></tr><tr><td><code>EMPTY</code></td><td>string is empty (has no characters) or is null (no value)</td></tr><tr><td><code>NULL</code></td><td>value is null</td></tr><tr><td><code>-foo</code></td><td>is not equal to "foo" (is any value except "foo"), matches "pizza", "trash", "fun" but not "foo"</td></tr><tr><td><code>-foo ^, -bar</code></td><td>is not equal to either "foo" or "bar", but matches any value except "foo" and "bar"</td></tr><tr><td><code>-%foo%</code></td><td>doesn't contain "foo", does not match "buffoon" or "fast food"</td></tr><tr><td><code>-foo%</code></td><td>doesn't start with "foo", does not match "foolish" or "food"</td></tr><tr><td><code>-%foo</code></td><td>doesn't end with "foo", does not match "buffoo" or "fast foo"</td></tr><tr><td><code>-EMPTY</code></td><td>string is not empty (has at least one character)</td></tr><tr><td><code>-NULL</code></td><td>value is not null</td></tr><tr><td><code>foo% ^, bar</code></td><td>starts with "foo" or is "bar" exactly, matches "food" and matches "bar", but not "barfood"</td></tr><tr><td><code>foo% ^, -food</code></td><td>starts with "foo" but is not "food"</td></tr><tr><td><code>_uf</code></td><td>has any single character followed by "uf", matches "buffoon"</td></tr></tbody></table>

#### Custom "User Attributes"

Your ChainArgos system administrator can configure user-specific values called "user attributes" that let you automatically customize a Look and/or Dashboard for each user (optional).&#x20;

To reference a "user attribute" in an advanced matches filter, use the syntax `{{ _user_attributes['name_of_your_attribute'] }}`.

Custom "User Attributes" are a ChainArgos option, please contact ChainArgos to find out more about customizable "user attributes".
