# Strip out eveything except the year

**URL:** https://community.mp3tag.de/t/strip-out-eveything-except-the-year/71748
**Category:** Support
**Created:** [August 22, 2026, 10:43pm UTC](https://community.mp3tag.de/t/strip-out-eveything-except-the-year/71748 "2026-08-22T22:43:16Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![chayes](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/e0b2c6/32.png) [@chayes](https://community.mp3tag.de/u/chayes)
#### Post date: [August 22, 2026, 10:43pm UTC](https://community.mp3tag.de/t/strip-out-eveything-except-the-year/71748/1 "2026-08-22T22:43:16Z")

</div>

Hi All

In my Title field I have entries in this format :

```auto
1. THE SHADOWS – Quartermasters Stores (Trad. Arr. Shepherd) 1960
2. THE MOONTREKKERS – Night Of the Vampire (LePort) 1961
3. JET HARRIS – Man With The Golden Arm (Bernstein/Fino) 1962
4. TED TAYLOR FOUR – Cats Eyes (James) 1961

```

I'm trying to make an Action to run through each one and remove everything except the year.

So the above would become

```auto
1960
1961
1962
1961

```

The format is always the same , with the Year at the end.

Can someone advise a method to satisfy this please?

Grateful for any advice.

🙂

---

<div class="post-metadata">

### Author: ![rboss](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/5f9b8f/32.png) [@rboss](https://community.mp3tag.de/u/rboss)
#### Post date: [August 22, 2026, 11:41pm UTC](https://community.mp3tag.de/t/strip-out-eveything-except-the-year/71748/2 "2026-08-22T23:41:49Z")

</div>

Hello,

if you're sure you want to edit the `TITLE` tag in such a way, the simplest method would be 'Convert' \> 'Tag to Tag' and using

 ![imagem](https://community.mp3tag.de/uploads/default/original/3X/6/4/6455f5137fe7d99470ff58effbc1cc44f0cadad5.png)

This will return only the last 4 characters in your titles, which you mention are consistently the 4-digit year.

But I advice caution and testing before commiting this conversion on a large scale.

---

<div class="post-metadata">

### Author: ![chayes](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/e0b2c6/32.png) [@chayes](https://community.mp3tag.de/u/chayes)
#### Post date: [August 23, 2026, 2:40am UTC](https://community.mp3tag.de/t/strip-out-eveything-except-the-year/71748/3 "2026-08-23T02:40:14Z")

</div>

Hi rboss

Many thanks - this does the job perfectly. 🙂

I had in mind an Action , but I can see that Tag-\>Tag resolves it.

---

<div class="post-metadata">

### Author: ![rboss](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/5f9b8f/32.png) [@rboss](https://community.mp3tag.de/u/rboss)
#### Post date: [August 23, 2026, 2:53am UTC](https://community.mp3tag.de/t/strip-out-eveything-except-the-year/71748/4 "2026-08-23T02:53:30Z")

</div>

> [@chayes](#):
>
> I had in mind an Action , but I can see that Tag-\>Tag resolves it.

If you plan on making this conversion often, then yes- you can create an Action with it, so you won't have to type out the conversion string everytime.

Happy tagging.

* * *

PS: If that reply takes care of your discussion topic, please mark it as the answer, as to help out future readers.

---

<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: [August 23, 2026, 6:10am UTC](https://community.mp3tag.de/t/strip-out-eveything-except-the-year/71748/5 "2026-08-23T06:10:41Z")

</div>

> [@chayes](#):
>
> I had in mind an Action

The action equivalent to Convert\>Tag-Tag is an action of the type "Format value" for e.g. YEAR. The format string stays the same.

Another suggestion: if you have a varying number of trailing digits and not exactly 4 at the end and if you want to transfer these, then try  
Format string: `$regexp(%title%,.+?(\d+)$,$1)`

---

<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: [August 23, 2026, 7:41am UTC](https://community.mp3tag.de/t/strip-out-eveything-except-the-year/71748/6 "2026-08-23T07:41:26Z")

</div>

> [@chayes](#):
>
> I'm trying to make an Action to run through each one and remove everything except the year.

Would it not make more sense to strip the `YEAR` out of your `TITLE`?  
Alternatively, you could move the `YEAR` into its own field?  
Typically, one would split the content of your current title into  
`TRACK`. `ARTIST` - `TITLE` `YEAR`

---

<div class="post-metadata">

### Author: ![chayes](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/e0b2c6/32.png) [@chayes](https://community.mp3tag.de/u/chayes)
#### Post date: [August 23, 2026, 2:23pm UTC](https://community.mp3tag.de/t/strip-out-eveything-except-the-year/71748/7 "2026-08-23T14:23:06Z")

</div>

Thanks guys for your varying solutions. It's all working now! 🙂

---

<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: [August 25, 2026, 2:23pm UTC](https://community.mp3tag.de/t/strip-out-eveything-except-the-year/71748/8 "2026-08-25T14:23:54Z")

</div>

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