Finding TITLES and FILENAMES with an input mask kind of data

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?

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?

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

[xNNN] is what I am after

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}\]$

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

So thank you very much

1 Like

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