# Part 3 from mp3 filename to title

**URL:** <https://community.mp3tag.de/t/part-3-from-mp3-filename-to-title/19447>\
**Category:** Support\
**Created:** [October 16, 2017, 5:45pm UTC](https://community.mp3tag.de/t/part-3-from-mp3-filename-to-title/19447 "2017-10-16T17:45:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ukHolly](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/u/f05b48/32.png) [@ukHolly](https://community.mp3tag.de/u/ukHolly)\
**Post date:** [October 16, 2017, 5:45pm UTC](https://community.mp3tag.de/t/part-3-from-mp3-filename-to-title/19447/1 "2017-10-16T17:45:45Z")

</div>

I have been trying to figure this out for ages but what expression do I use to batch convert part 3 of my mp3 filename to the title (there are spaces in my filename):

Example below:

Filename: 'S2 E6 Full House' - required title "Full House"

---

<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 17, 2017, 3:00am UTC](https://community.mp3tag.de/t/part-3-from-mp3-filename-to-title/19447/2 "2017-10-17T03:00:07Z")

</div>

If there is always a number as last character before the real title starts (here: "6") then, the following might do it:  
Action of the type "Format value" for TITLE  
Format string: $regexp(%\_filename%,._\d (._),$1)

---

<div class="post-metadata">

**Author:** ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)\
**Post date:** [October 17, 2017, 6:47am UTC](https://community.mp3tag.de/t/part-3-from-mp3-filename-to-title/19447/3 "2017-10-17T06:47:11Z")

</div>

> [@ukHolly](#):
>
> ... convert part 3 of my mp3 filename to the title (there are spaces in my filename): Example below: Filename: 'S2 E6 Full House' - required title "Full House"

1. Proposal ...  
Convert "Filename - Tag"   
Formatstring: %dummy% %dummy% %title%

From: Filename = 'S2 E6 Full House.mp3'  
To: Title = 'Full House'

1. Proposal ...  
Action "Format value"  
TITLE \<== $cutLeft(%\_filename%,6)

2. Proposal ...  
Action "Format value"  
TITLE \<== $regexp(%\_filename%,'^(.+?)\s(.+?)\s(.+?)$','$3')  
... or ...  
TITLE \<== $regexp(%\_filename%,'^.+?\s.+?\s(.+?)$','$1')

DD.20171017.1100.CEST

---

<div class="post-metadata">

**Author:** ![ukHolly](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/u/f05b48/32.png) [@ukHolly](https://community.mp3tag.de/u/ukHolly)\
**Post date:** [October 17, 2017, 9:09pm UTC](https://community.mp3tag.de/t/part-3-from-mp3-filename-to-title/19447/4 "2017-10-17T21:09:28Z")

</div>

Thanks for your help.

> [@DetlevD](#):
>
> 1. Proposal ...  
> Convert "Filename - Tag"   
> Formatstring: %dummy% %dummy% %title%
> 
> From: Filename = 'S2 E6 Full House.mp3'  
> To: Title = 'Full House'
> 
> 1. Proposal ...  
> Action "Format value"  
> TITLE \<== $cutLeft(%\_filename%,6)
> 
> 2. Proposal ...  
> Action "Format value"  
> TITLE \<== $regexp(%\_filename%,'^(.+?)\s(.+?)\s(.+?)$','$3')  
> ... or ...  
> TITLE \<== $regexp(%\_filename%,'^.+?\s.+?\s(.+?)$','$1')
> 
> DD.20171017.1100.CEST

---

<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:27pm UTC](https://community.mp3tag.de/t/part-3-from-mp3-filename-to-title/19447/5 "2026-02-09T12:27:03Z")

</div>


