# Searching (filtering) Fields with Multiple Values

**URL:** https://community.mp3tag.de/t/searching-filtering-fields-with-multiple-values/66120
**Category:** Support
**Created:** [October 1, 2024, 6:36pm UTC](https://community.mp3tag.de/t/searching-filtering-fields-with-multiple-values/66120 "2024-10-01T18:36:44Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![mista\_j](https://community.mp3tag.de/user_avatar/community.mp3tag.de/mista_j/32/15808_2.png) [@mista\_j](https://community.mp3tag.de/u/mista_j)
#### Post date: [October 1, 2024, 6:36pm UTC](https://community.mp3tag.de/t/searching-filtering-fields-with-multiple-values/66120/1 "2024-10-01T18:36:44Z")

</div>

I have two fields "Language 1" & "Language 2", these two fields are concatenated to form the "Language" field very simply "Language = %Language 1% %Language 2%". I can then filter files by "LANGUAGE HAS ENGLISH" for example in the filter bar.

Recently I changed players so the Languages must be tagged as multi value, there must be two tags with the same name but different values in order to register properly in the music app.

Now in MP3tag if I use that same expression to filter it will only match files if ENGLISH is the first Language Value that appears. in other words when opening the extended tags the first value listed for a tag is the only value that is "filterable" & if I were to ask mp3tag to print the value of "Language" for said file it would return me that first value & seemingly disregard the 2nd value.

In this scenario the only way to filter (search) the Language fields (both entries) would be to instead filter via "Language 1" & "Language 2" or perhaps create another field that has both Languages listed in one tag. Is that correct? Is there another way to circumnavigate this by chance?

---

<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: [October 1, 2024, 7:40pm UTC](https://community.mp3tag.de/t/searching-filtering-fields-with-multiple-values/66120/2 "2024-10-01T19:40:15Z")

</div>

I'm not sure if I understand your question.

If you are looking for a filter expression that searches for both contents in your LANGUAGE tag, then you could try it with  
`LANGUAGE HAS englisch OR LANGUAGE HAS german`

If you search for songs that needs to match the content in both LANGUAGE fields, then it would be  
`LANGUAGE HAS englisch AND LANGUAGE HAS german`

Documentation about filter syntax:

> **[Filter and Search – Mp3tag Documentation](https://docs.mp3tag.de/filter/#filter-syntax)**
>
> Documentation on Filter and Search and keywords to form complex filter expressions. Mp3tag is the universal Tag Editor.

---

<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: [October 1, 2024, 7:58pm UTC](https://community.mp3tag.de/t/searching-filtering-fields-with-multiple-values/66120/3 "2024-10-01T19:58:17Z")

</div>

> [@mista\_j](#):
>
> Now in MP3tag if I use that same expression to filter it will only match files if ENGLISH is the first Language Value that appears.

Try  
`"$meta_sep(language,; )" HAS English`

---

<div class="post-metadata">

### Author: ![mista\_j](https://community.mp3tag.de/user_avatar/community.mp3tag.de/mista_j/32/15808_2.png) [@mista\_j](https://community.mp3tag.de/u/mista_j)
#### Post date: [October 1, 2024, 8:37pm UTC](https://community.mp3tag.de/t/searching-filtering-fields-with-multiple-values/66120/4 "2024-10-01T20:37:23Z")

</div>

> [@LyricsLover](#):
>
> LANGUAGE HAS englisch OR LANGUAGE HAS german

Ah, simple...a second clause to the search. This works  
Thank You

Sorry for the dumb question

---

<div class="post-metadata">

### Author: ![mista\_j](https://community.mp3tag.de/user_avatar/community.mp3tag.de/mista_j/32/15808_2.png) [@mista\_j](https://community.mp3tag.de/u/mista_j)
#### Post date: [October 1, 2024, 8:38pm UTC](https://community.mp3tag.de/t/searching-filtering-fields-with-multiple-values/66120/5 "2024-10-01T20:38:20Z")

</div>

> [@ohrenkino](#):
>
> Try  
> `"$meta_sep(language,; )" HAS English`

I was not able to get this to work, but I have used the solution presented by LyricsLover

Thank you for your time

---

<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: [October 2, 2024, 6:03am UTC](https://community.mp3tag.de/t/searching-filtering-fields-with-multiple-values/66120/7 "2024-10-02T06:03:01Z")

</div>

> [@mista\_j](#):
>
> I was not able to get this to work,

Are you on a MAC?  
There the function is called $metasep().  
Otherwise it should work that if takes the whole list of LANGUAGE fields and then looks for the provided string.

---

<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: [October 2, 2024, 7:58am UTC](https://community.mp3tag.de/t/searching-filtering-fields-with-multiple-values/66120/8 "2024-10-02T07:58:03Z")

</div>

If the filter does not work for you:  
Please show us a [screenshot](https://community.mp3tag.de/t/hints-for-asking-support-requests/56190#use-screenshots-to-exemplify-the-issue-2) from one of your songs after pressing Alt + T (View -\> Extended Tags) to see what exactly do you mean with

> [@mista\_j](#):
>
> two fields "Language 1" & "Language 2", these two fields are concatenated to form the "Language" field very simply "Language = %Language 1% %Language 2%"

---

<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: [February 9, 2026, 12:30pm UTC](https://community.mp3tag.de/t/searching-filtering-fields-with-multiple-values/66120/9 "2026-02-09T12:30:21Z")

</div>


