# how to remove a varying chunk of text

**URL:** https://community.mp3tag.de/t/how-to-remove-a-varying-chunk-of-text/11256
**Category:** Support
**Created:** [December 8, 2010, 10:19pm UTC](https://community.mp3tag.de/t/how-to-remove-a-varying-chunk-of-text/11256 "2010-12-08T22:19:04Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![zomgix](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/z/fbc32d/32.png) [@zomgix](https://community.mp3tag.de/u/zomgix)
#### Post date: [December 8, 2010, 10:19pm UTC](https://community.mp3tag.de/t/how-to-remove-a-varying-chunk-of-text/11256/1 "2010-12-08T22:19:04Z")

</div>

hiya! great software (obviously).  
would it be possible to rename files like this?

111 - 99,33 - asdasd.mp3 --\> asdasd.mp3  
222 - 100 - cdecde.mp3 --\> cdecde.mp3  
123 - 174,8 - fghfgh.mp3 --\> fghfgh.mp3

like remove the "XXX - YYY - " filename prefix. and I can't use the action to remove chars from the left, because the number of them varies, so I would need like a more sophisticated approach. please help 🙂

---

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [December 8, 2010, 11:24pm UTC](https://community.mp3tag.de/t/how-to-remove-a-varying-chunk-of-text/11256/2 "2010-12-08T23:24:45Z")

</div>

here you go:

Converter: Tag - Filename  
Formatstring: $regexp(%\_filename%,(._?) - (._?) - (.\*?),$3)

---

<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: [December 9, 2010, 1:59am UTC](https://community.mp3tag.de/t/how-to-remove-a-varying-chunk-of-text/11256/3 "2010-12-09T01:59:25Z")

</div>

> [@zomgix](#):
>
> ... would it be possible to rename files like this?  
> 111 - 99,33 - asdasd.mp3 --\> asdasd.mp3  
> ...  
> like remove the "XXX - YYY - " filename prefix. ... I would need like a more sophisticated approach. ...

 

**Convert** | **Filename - Filename** | **ALT+3**

 

_Select format string_

 

Old filename pattern:  
**%1 - %2 - %3**

 

New filename pattern:  
**%3**

 

Preview  
**asdasd.mp3**

 

DD.20101209.0400.CET

---

<div class="post-metadata">

### Author: ![zomgix](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/z/fbc32d/32.png) [@zomgix](https://community.mp3tag.de/u/zomgix)
#### Post date: [December 9, 2010, 10:21am UTC](https://community.mp3tag.de/t/how-to-remove-a-varying-chunk-of-text/11256/4 "2010-12-09T10:21:06Z")

</div>

thanks guys! works like a charm 🙂

---

<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:22pm UTC](https://community.mp3tag.de/t/how-to-remove-a-varying-chunk-of-text/11256/5 "2026-02-09T12:22:44Z")

</div>


