# Finding TITLES and FILENAMES with an input mask kind of data

**URL:** <https://community.mp3tag.de/t/finding-titles-and-filenames-with-an-input-mask-kind-of-data/54398>\
**Category:** Support\
**Created:** [September 17, 2021, 11:16am UTC](https://community.mp3tag.de/t/finding-titles-and-filenames-with-an-input-mask-kind-of-data/54398 "2021-09-17T11:16:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zerow](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zerow/32/11379_2.png) [@Zerow](https://community.mp3tag.de/u/Zerow)\
**Post date:** [September 17, 2021, 11:16am UTC](https://community.mp3tag.de/t/finding-titles-and-filenames-with-an-input-mask-kind-of-data/54398/1 "2021-09-17T11:16:48Z")

</div>

I need to find all files that have in their TITLE and / or FILENAME a three digit following the `a` sign and all together enclosed in a square brackets. For example:

Title Of A Song **[x118]**  
Title Of A Some Other Song (Live 2000) **[x200]**  
Title Of A Yet Another Song {Radio Mix} (Live 2000) **[x394]**  
Title Of A Yet Another Another Song / Title Of A Yet Another Another Another Song **[x901]**  
` `  
The search results however cannot return such files

Title Of A Song **[x11]**  
Title Of A Some Other Song (Live 2000) **[x20]**  
Title Of A Yet Another Song {Radio Mix} (Live 2000) **[x94]**  
Title Of A Yet Another Another Song / Title Of A Yet Another Another Another Song **[x01]**

i.e. with just a two digit number, including the ones which start with a `0`  
` `  
` `  
Can anyone know how to do it?

---

<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:** [September 17, 2021, 12:13pm UTC](https://community.mp3tag.de/t/finding-titles-and-filenames-with-an-input-mask-kind-of-data/54398/2 "2021-09-17T12:13:56Z")

</div>

> [@Zerow](#):
>
> The search results however cannot return such files

What exactly do you want:  
a) ONLY the songs with [xNNN]?  
b) ALL the songs with 2 digits [xNN] OR 3 digits [xNNN]?

And what is `a` sign?

---

<div class="post-metadata">

**Author:** ![Zerow](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zerow/32/11379_2.png) [@Zerow](https://community.mp3tag.de/u/Zerow)\
**Post date:** [September 17, 2021, 12:18pm UTC](https://community.mp3tag.de/t/finding-titles-and-filenames-with-an-input-mask-kind-of-data/54398/3 "2021-09-17T12:18:57Z")

</div>

> [@LyricsLover](#):
>
> What exactly do you want:  
> a) ONLY the songs with [xNNN]?  
> [...]

I took me while to understand why my initial post was not precised enough

`[xNNN]` is what I am after

---

<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:** [September 17, 2021, 1:06pm UTC](https://community.mp3tag.de/t/finding-titles-and-filenames-with-an-input-mask-kind-of-data/54398/4 "2021-09-17T13:06:58Z")

</div>

You could try it with:

`TITLE MATCHES \[x\d{3}\]`

This filters every song where the title contains  
`[x`  
followed by exactly 3 digits  
followed by a  
`]`  
If you need only songs where this [xNNN] is at the end, then add a  
`$`  
to the above filter.

If you want to search inside TITLE or \_FILENAME duplicate it with an `OR` like this  
`_FILENAME MATCHES \[x\d{3}\]$ OR TITLE MATCHES \[x\d{3}\]$`

---

<div class="post-metadata">

**Author:** ![Zerow](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zerow/32/11379_2.png) [@Zerow](https://community.mp3tag.de/u/Zerow)\
**Post date:** [September 17, 2021, 1:35pm UTC](https://community.mp3tag.de/t/finding-titles-and-filenames-with-an-input-mask-kind-of-data/54398/5 "2021-09-17T13:35:28Z")

</div>

> [@LyricsLover](#):
>
> [...]  
> `TITLE MATCHES \[x\d{3}\]`  
> [...]

This seems to the the trick; of saving me a lot of time and preventing errors / omissions from occurring

So thank you very much

---

<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:** [October 17, 2021, 1:35pm UTC](https://community.mp3tag.de/t/finding-titles-and-filenames-with-an-input-mask-kind-of-data/54398/6 "2021-10-17T13:35:41Z")

</div>

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