# 28 characters need to be removed from file name

**URL:** https://community.mp3tag.de/t/28-characters-need-to-be-removed-from-file-name/63670
**Category:** Support
**Created:** [February 3, 2024, 11:24am UTC](https://community.mp3tag.de/t/28-characters-need-to-be-removed-from-file-name/63670 "2024-02-03T11:24:18Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![zach](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/z/51bf81/32.png) [@zach](https://community.mp3tag.de/u/zach)
#### Post date: [February 3, 2024, 11:24am UTC](https://community.mp3tag.de/t/28-characters-need-to-be-removed-from-file-name/63670/1 "2024-02-03T11:24:18Z")

</div>

Hello  
In a recent work all files are stamped with a mysterious code in the right part of the file  
For example:

Name1-bEPvh2BAK-Y-128k-1705842025.wma  
Name2-hMrAivGwlwM-128k-1705841979.wma  
Name3-QDdL7YdZx6Q-128k-1705841929.wma

This garbage filer is exactly 28 characters

I wonder if there is any easy way to remove them.

---

<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: [February 3, 2024, 11:39am UTC](https://community.mp3tag.de/t/28-characters-need-to-be-removed-from-file-name/63670/2 "2024-02-03T11:39:13Z")

</div>

If you still have the "original" Name in a tag like TITLE you could recreate the filename with it.  
For example you could use the Convert Tag -\> Filename with the Format string:  
`%TITLE%`

If you only want to rename your files - and not use the tags - I would suggest to use a specialized file rename software.

If you insist to use Mp3tag for this task, you can have a look at the [function](https://docs.mp3tag.de/scripting/#string-functions) `$cutRight` and remove your 28 characters from the \_FILENAME with this Format string:  
`$cutRight(%_FILENAME%,28)`

 ![image](https://community.mp3tag.de/uploads/default/original/3X/2/e/2e166d3e10d62304702de5765c81e05867c79e2b.png)

Please test it carefully:  
 ![image](https://community.mp3tag.de/uploads/default/original/3X/8/c/8c95c6e60d1bd1170e9db9e7d57991b9f3faff1c.png)

---

<div class="post-metadata">

### Author: ![zach](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/z/51bf81/32.png) [@zach](https://community.mp3tag.de/u/zach)
#### Post date: [February 3, 2024, 12:21pm UTC](https://community.mp3tag.de/t/28-characters-need-to-be-removed-from-file-name/63670/3 "2024-02-03T12:21:49Z")

</div>

I works,! 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: [March 4, 2024, 12:22pm UTC](https://community.mp3tag.de/t/28-characters-need-to-be-removed-from-file-name/63670/4 "2024-03-04T12:22:46Z")

</div>

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