# How to hide certain files from filtered results?

**URL:** <https://community.mp3tag.de/t/how-to-hide-certain-files-from-filtered-results/61273>\
**Category:** Support\
**Created:** [June 15, 2023, 12:25pm UTC](https://community.mp3tag.de/t/how-to-hide-certain-files-from-filtered-results/61273 "2023-06-15T12:25:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ragtag](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ragtag/32/13146_2.png) [@ragtag](https://community.mp3tag.de/u/ragtag)\
**Post date:** [June 15, 2023, 12:25pm UTC](https://community.mp3tag.de/t/how-to-hide-certain-files-from-filtered-results/61273/1 "2023-06-15T12:25:27Z")

</div>

Hello Everyone,

I have set up a filter to get Mp3tag to display all the files for which the %year% tag is missing, namely:

`%year% MISSING`

However, at the same time, I want it to hide certain files from view, in this particular case to hide the  
files that contain in their %title% field, the following string:

1. (HTOA)

_Note: There is a space between the dot and the opening bracket in the aforesaid string._

Eventually, I gave up trying to achieve the desired result, having read and applied many variations of the following filter:

`%year% MISSING NOT %title% MATCHES "00. (HTOA)"`

Please, show me where I got this wrong?

Thank you, I always appreciate your assistance.

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [June 15, 2023, 12:27pm UTC](https://community.mp3tag.de/t/how-to-hide-certain-files-from-filtered-results/61273/2 "2023-06-15T12:27:14Z")

</div>

> [@ragtag](#):
>
> `%year% MISSING NOT %title% MATCHES "00. (HTOA)"`

Try  
`%year% MISSING AND NOT %title% HAS "00. (HTOA)"`

---

<div class="post-metadata">

**Author:** ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)\
**Post date:** [June 15, 2023, 12:34pm UTC](https://community.mp3tag.de/t/how-to-hide-certain-files-from-filtered-results/61273/3 "2023-06-15T12:34:21Z")

</div>

From the documentation, about [AND / OR / NOT](https://docs.mp3tag.de/filter/#expr1-and-expr2)

 ![image](https://community.mp3tag.de/uploads/default/original/2X/1/1d6928197ac29af113e618319fb591a61ffe9f40.png)

From the same documentation about [MATCHES](https://docs.mp3tag.de/filter/#field-matches-regexp)

 ![image](https://community.mp3tag.de/uploads/default/original/2X/2/2bb538e0a1079dd5d2403f8e3775317c8bb8c2e3.png)

---

<div class="post-metadata">

**Author:** ![ragtag](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ragtag/32/13146_2.png) [@ragtag](https://community.mp3tag.de/u/ragtag)\
**Post date:** [June 15, 2023, 1:58pm UTC](https://community.mp3tag.de/t/how-to-hide-certain-files-from-filtered-results/61273/4 "2023-06-15T13:58:47Z")

</div>

Thank you, both.

_Certainly always reading first, but as certainly, not always comprehending._

@ohrenkino:

`%year% MISSING AND NOT %title% HAS "00. (HTOA)"`

The above filter did not hide the string.

This one eventually did:

`%year% MISSING AND (NOT %title% HAS "00. (HTOA)")`

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [June 15, 2023, 2:02pm UTC](https://community.mp3tag.de/t/how-to-hide-certain-files-from-filtered-results/61273/5 "2023-06-15T14:02:41Z")

</div>

> [@ragtag](#):
>
> The above filter did not hide the string.

Really?  
Logically, it does not make any difference at all whether you apply the brackets or not. You have 2 conditions that should become true.  
It would be different if you had 3 or more conditions out of which a pair should be evaluated together.

---

<div class="post-metadata">

**Author:** ![ragtag](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ragtag/32/13146_2.png) [@ragtag](https://community.mp3tag.de/u/ragtag)\
**Post date:** [June 15, 2023, 2:22pm UTC](https://community.mp3tag.de/t/how-to-hide-certain-files-from-filtered-results/61273/6 "2023-06-15T14:22:17Z")

</div>

@ohrenkino, you are correct indeed. I am unable to explain why it did not work the first time around, but when reapplied, your filter worked perfectly. Thank you again.

---

<div class="post-metadata">

**Author:** ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)\
**Post date:** [July 15, 2023, 2:22pm UTC](https://community.mp3tag.de/t/how-to-hide-certain-files-from-filtered-results/61273/7 "2023-07-15T14:22:52Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
