# Filter titles with "number" at the end

**URL:** https://community.mp3tag.de/t/filter-titles-with-number-at-the-end/64326
**Category:** Mac
**Created:** [April 6, 2024, 8:34pm UTC](https://community.mp3tag.de/t/filter-titles-with-number-at-the-end/64326 "2024-04-06T20:34:55Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jasonboudinot](https://community.mp3tag.de/user_avatar/community.mp3tag.de/jasonboudinot/32/11242_2.png) [@jasonboudinot](https://community.mp3tag.de/u/jasonboudinot)
#### Post date: [April 6, 2024, 8:34pm UTC](https://community.mp3tag.de/t/filter-titles-with-number-at-the-end/64326/1 "2024-04-06T20:34:55Z")

</div>

I would like to filter titles with the title ending in a number. Example: "Kiss Me Deadly" 108. I would like to replace the number "108" with nothing. Any help is appreciated! Sometimes there is only 2 digits...

---

<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: [April 6, 2024, 8:42pm UTC](https://community.mp3tag.de/t/filter-titles-with-number-at-the-end/64326/2 "2024-04-06T20:42:12Z")

</div>

You could try as filter  
`title MATCHES \d+$`

To replace the trailing number try an action of the type "Replace with regular expression"  
Search pattern: `\s*\d+$`  
Replace with:  
(leave empty)

Please note that this will be problematic for titles like  
1984 by the Eurythmics  
19 by Paul Hardcastle  
24 by Lana del Rey  
and probably a lot more.

---

<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: [May 6, 2024, 8:43pm UTC](https://community.mp3tag.de/t/filter-titles-with-number-at-the-end/64326/3 "2024-05-06T20:43:07Z")

</div>

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