# Delete beginning text of filename

**URL:** <https://community.mp3tag.de/t/delete-beginning-text-of-filename/60313>\
**Category:** Support\
**Created:** [March 10, 2023, 4:42am UTC](https://community.mp3tag.de/t/delete-beginning-text-of-filename/60313 "2023-03-10T04:42:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmatsui](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/76d3ee/32.png) [@dmatsui](https://community.mp3tag.de/u/dmatsui)\
**Post date:** [March 10, 2023, 4:42am UTC](https://community.mp3tag.de/t/delete-beginning-text-of-filename/60313/1 "2023-03-10T04:42:48Z")

</div>

Hi Folks,  
I've been searching the forums for the last hour and trying differently formulas and nothing seems to be working. I might not be understanding what to replace or using the wrong formulas.

My filenames are formatted as [JAZZ] title. I'm trying to eliminate the "[JAZZ]" and replace it with the artist name. I can't seem to get the tag feature to work since MP3Tag wants to use "[JAZZ]" as the artist and won't let me change that.

Any ideas on what formula to fix this? Thanks in advance!

---

<div class="post-metadata">

**Author:** ![MotleyG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/motleyg/32/440_2.png) [@MotleyG](https://community.mp3tag.de/u/MotleyG)\
**Post date:** [March 10, 2023, 6:02am UTC](https://community.mp3tag.de/t/delete-beginning-text-of-filename/60313/2 "2023-03-10T06:02:54Z")

</div>

It depends on whether or not you have the tags already in place for `Title` and `Artist`. If you do have both, simply use the converter for `Tag - Filename`, and format it with `%artist% %title%` there. You can see a preview of the results there to confirm you are getting the desired results..

If you don’t have all of the tags already, perhaps share a screenshot of what **you** do have for a real file example, use Alt+T to get all of the fields available.

---

<div class="post-metadata">

**Author:** ![dmatsui](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/76d3ee/32.png) [@dmatsui](https://community.mp3tag.de/u/dmatsui)\
**Post date:** [March 10, 2023, 6:24am UTC](https://community.mp3tag.de/t/delete-beginning-text-of-filename/60313/3 "2023-03-10T06:24:05Z")

</div>

![mp3tag](https://community.mp3tag.de/uploads/default/original/2X/0/03dc591d2579ff28aa770fa38c2342b0220d0154.jpeg)  
This is what I'm seeing.

---

<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:** [March 10, 2023, 6:51am UTC](https://community.mp3tag.de/t/delete-beginning-text-of-filename/60313/4 "2023-03-10T06:51:56Z")

</div>

AFAI can tell you do not have any data in the tag fields except TRACK. So, if you try to use non-existent data for the filename, the filename will be erased.

What you could do:  
Select the files.  
Import the genre and the title from the files first with  
Convert\>Filename - Tag  
String: `[%genre%] %title%`

Enter the artist in the corresponding field in the tag panel and press Ctrl+S to save the modification.

Then use Convert\>Tag-Filename  
String: %artist% - %title%

Something more - when I look at the currently loaded directory, I see  
`D:\Music\Louis Armstrong\I've got the music`  
So I assume, that you have a folder structure that features the ARTIST and the ALBUM in the path.  
You could expand the string in Convert\>Filename-Tag to  
`%artist%\%album%\[%genre%] %title%`

To get the most of the already existing data into the tags.  
And then you may use that structured data to compose a filename of your liking.

---

<div class="post-metadata">

**Author:** ![dmatsui](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/76d3ee/32.png) [@dmatsui](https://community.mp3tag.de/u/dmatsui)\
**Post date:** [March 11, 2023, 3:42am UTC](https://community.mp3tag.de/t/delete-beginning-text-of-filename/60313/6 "2023-03-11T03:42:56Z")

</div>

That's a good idea, i didn't even think of that. Thank you!

---

<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:** [April 10, 2023, 3:43am UTC](https://community.mp3tag.de/t/delete-beginning-text-of-filename/60313/7 "2023-04-10T03:43:08Z")

</div>

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