# Capture substring of filename for song title

**URL:** <https://community.mp3tag.de/t/capture-substring-of-filename-for-song-title/42535>\
**Category:** Support\
**Created:** [August 1, 2018, 6:19pm UTC](https://community.mp3tag.de/t/capture-substring-of-filename-for-song-title/42535 "2018-08-01T18:19:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kappclark](https://community.mp3tag.de/user_avatar/community.mp3tag.de/kappclark/32/5321_2.png) [@kappclark](https://community.mp3tag.de/u/kappclark)\
**Post date:** [August 1, 2018, 6:19pm UTC](https://community.mp3tag.de/t/capture-substring-of-filename-for-song-title/42535/1 "2018-08-01T18:19:06Z")

</div>

I have a folder with every songs's title as ARTIST - Title (which was done so cd player would show artist - this was a mistake ... !)

Would like to rename all the files so that the title is JUST the title

Each file is in the format ARTIST - TITLE, so need to figure out how to extract just the string following " - " to capture the title part of filename, and make the TITLE field equal to that

Probably something with a regular expressioin (?)  
.  
EXAMPLES of files in folder: (they are all in the same format with the same delimiter ... )

America - You Can Do Magic.mp3  
Link Wray & The Wraymen - The Swag.mp3

Thank you in advance .(  
..  
Bill Clark, Windham, VT

---

<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 1, 2018, 6:25pm UTC](https://community.mp3tag.de/t/capture-substring-of-filename-for-song-title/42535/2 "2018-08-01T18:25:18Z")

</div>

Use the function Convert\>Filename - Tag  
Format string: %dummy% - %title%

and see perhaps the help: [Import Tags from File and Folder Names – Mp3tag Documentation](https://docs.mp3tag.de/converters/import-tags-from-filenames)

---

<div class="post-metadata">

**Author:** ![kappclark](https://community.mp3tag.de/user_avatar/community.mp3tag.de/kappclark/32/5321_2.png) [@kappclark](https://community.mp3tag.de/u/kappclark)\
**Post date:** [August 1, 2018, 6:28pm UTC](https://community.mp3tag.de/t/capture-substring-of-filename-for-song-title/42535/3 "2018-08-01T18:28:17Z")

</div>

YES! How stupid of me -- I saw that function before. and it works excellent ... thnks..

BC

---

<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/capture-substring-of-filename-for-song-title/42535/4 "2026-02-09T12:27:35Z")

</div>


