# Artist/Title Bulk Tag Using RegEx

**URL:** https://community.mp3tag.de/t/artist-title-bulk-tag-using-regex/43425
**Category:** Support
**Created:** [October 28, 2018, 4:37am UTC](https://community.mp3tag.de/t/artist-title-bulk-tag-using-regex/43425 "2018-10-28T04:37:30Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![brooza](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/ba9def/32.png) [@brooza](https://community.mp3tag.de/u/brooza)
#### Post date: [October 28, 2018, 4:37am UTC](https://community.mp3tag.de/t/artist-title-bulk-tag-using-regex/43425/1 "2018-10-28T04:37:30Z")

</div>

Hello all,

I have a bunch of mp3s that don't have tags on them. The way the files are named are in the following format:

Artist - Title.mp3

What I'd like to do is write two regular expressions:

1. To add the Artist tag by looking for all characters before " - " in the filename.
2. To add the Title tag looking for all characters after " - " in the filename

Can this be done? If so how would you do this using the Mp3tag application? And can it be applied to multiple files at once?

Thanks,  
Dan

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [October 28, 2018, 9:17am UTC](https://community.mp3tag.de/t/artist-title-bulk-tag-using-regex/43425/2 "2018-10-28T09:17:44Z")

</div>

It can be done 🙂 See this topic from the #Howto > FAQ (Frequently Asked Questions) for details:

> [@Converters to rename files or to import tags](https://community.mp3tag.de/t/converters-to-rename-files-or-to-import-tags/8016/3):
>
> How to import parts of the filename into the tag? Importing tags from filenames and directory names can be done by using the [Converter \> Filename - Tag] Converter \> Filename - Tag. The basic concept is the notion of a format string which describes the structure of the name to import from. The format string is built of either standard text (e.g., Music), placeholders (such as %artist%, %title%, ...), or backslash characters \ that denote directory structures. Here is an example that imports t…

It'd be `%artist% - %title%` in your case.

---

<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/artist-title-bulk-tag-using-regex/43425/3 "2026-02-09T12:27:45Z")

</div>


