# Split title into individual fields?

**URL:** <https://community.mp3tag.de/t/split-title-into-individual-fields/18964>\
**Category:** Support\
**Created:** [May 7, 2017, 3:57pm UTC](https://community.mp3tag.de/t/split-title-into-individual-fields/18964 "2017-05-07T15:57:54Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sludge](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/e36b37/32.png) [@Sludge](https://community.mp3tag.de/u/Sludge)\
**Post date:** [May 7, 2017, 3:57pm UTC](https://community.mp3tag.de/t/split-title-into-individual-fields/18964/1 "2017-05-07T15:57:54Z")

</div>

Been getting a number of mp3 with the Title field as "Title - Artist" or "Artist - Title" and the Artist field set as something like "Various".

I know there must be some way of splitting the Title field into the correct individual fields but can't seem to figure it out. How do I do this?

I've previously relied on converting filenames to tags but now this isn't an option as many of the files are often having incorrect or truncated filenames.

---

<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:** [May 7, 2017, 4:32pm UTC](https://community.mp3tag.de/t/split-title-into-individual-fields/18964/2 "2017-05-07T16:32:06Z")

</div>

You would have to select the files that show the same pattern. MP3tag by itself does not know whether a string is a title or an artist.  
But once you have done that, you can automate it:

Create an action of the type "Guess values"  
Soruce: %title%  
Guessing pattern: %artist% - %title%

or  
Guessing pattern: %title% - %artist%

Please note that the pattern has to match exactly, e.g.  
%artist%-%title%  
is a different pattern.

---

<div class="post-metadata">

**Author:** ![Sludge](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/e36b37/32.png) [@Sludge](https://community.mp3tag.de/u/Sludge)\
**Post date:** [May 7, 2017, 4:58pm UTC](https://community.mp3tag.de/t/split-title-into-individual-fields/18964/3 "2017-05-07T16:58:34Z")

</div>

> [@ohrenkino](#):
>
> You would have to select the files that show the same pattern. MP3tag by itself does not know whether a string is a title or an artist.  
> But once you have done that, you can automate it:
> 
> Create an action of the type "Guess values" for TITLE  
> Guessing pattern: %artist% - %title%
> 
> or  
> Guessing pattern: %title% - %artist%
> 
> Please note that the pattern has to match exactly, e.g.  
> %artist%-%title%  
> is a different pattern.

Thanks a lot! 🙂  
That works fine, I knew the solution was simple but overlooked the slightly cryptic sounding "guess" function.

---

<div class="post-metadata">

**Author:** ![Ian\_Werich](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/9de0a6/32.png) [@Ian\_Werich](https://community.mp3tag.de/u/Ian_Werich)\
**Post date:** [July 3, 2022, 4:20pm UTC](https://community.mp3tag.de/t/split-title-into-individual-fields/18964/4 "2022-07-03T16:20:25Z")

</div>

I've carefully readen ohrenkino solution, but something seems wrong on my dates.

I have in the field TITLE the value "A Media Luz-Carlos Almada" (i.e. TITLE-ALBUM ARTIST) and the value "Edgardo Donato" in the field ARTIST.

I'm trying to split the split field TITLE to let "A Media Luz" in this field, putting the value "Carlos Almada" in the file ALBUM ARTIST.

Thanks in advance

Ian

---

<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:** [July 3, 2022, 4:54pm UTC](https://community.mp3tag.de/t/split-title-into-individual-fields/18964/5 "2022-07-03T16:54:25Z")

</div>

And what have you tried so far?

> [@ohrenkino](#):
>
> Create an action of the type "Guess values" for TITLE  
> Guessing pattern: %title%-%albumartist%

---

<div class="post-metadata">

**Author:** ![Ian\_Werich](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/9de0a6/32.png) [@Ian\_Werich](https://community.mp3tag.de/u/Ian_Werich)\
**Post date:** [July 3, 2022, 5:31pm UTC](https://community.mp3tag.de/t/split-title-into-individual-fields/18964/6 "2022-07-03T17:31:52Z")

</div>

> [@ohrenkino](#):
>
> what have you tried so far

The same you suggested, but it doesn't work.

Apparently, I don't see any typing error.

I also tried (unsuccessfully) to change the value of the "Replace matches with" field with %title% and %albumartist%.

---

<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:** [July 3, 2022, 5:34pm UTC](https://community.mp3tag.de/t/split-title-into-individual-fields/18964/7 "2022-07-03T17:34:34Z")

</div>

Then please show me a screendump that shows the real data from TITLE and the action that you applied.

---

<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:** [July 3, 2022, 10:09pm UTC](https://community.mp3tag.de/t/split-title-into-individual-fields/18964/8 "2022-07-03T22:09:13Z")

</div>

> [@Ian\_Werich](#):
>
> Apparently, I don't see any typing error.

I'd be suspicious in this case with the dash character. Often there are titles from web sources that have used alternate Unicode characters. Trying copying that character from your test filename, and paste it into the guessing pattern instead of typing it from the keyboard.

---

<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:** [July 4, 2022, 5:38am UTC](https://community.mp3tag.de/t/split-title-into-individual-fields/18964/9 "2022-07-04T05:38:04Z")

</div>

In addition to @MotleyG's advice, please have a look at all the [various dash variants](https://en.wikipedia.org/wiki/Dash#Unicode).  
Some of them are hardly distinguishable by eye.

---

<div class="post-metadata">

**Author:** ![Ian\_Werich](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/9de0a6/32.png) [@Ian\_Werich](https://community.mp3tag.de/u/Ian_Werich)\
**Post date:** [July 4, 2022, 8:35am UTC](https://community.mp3tag.de/t/split-title-into-individual-fields/18964/10 "2022-07-04T08:35:43Z")

</div>

![Cattura](https://community.mp3tag.de/uploads/default/original/2X/e/e6407fedcb3c9b43eef6ee828af28b4bdf163884.png)  
 ![Cattura2](https://community.mp3tag.de/uploads/default/original/2X/8/8417d382e7ab80d211b5e542120a41f24f5ab5fb.png)

Hi,

here you have the screendump of data from TITLE and the action I applied.

Thank you  
Ian

---

<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:** [July 4, 2022, 8:41am UTC](https://community.mp3tag.de/t/split-title-into-individual-fields/18964/11 "2022-07-04T08:41:01Z")

</div>

If you read carefully

> [@ohrenkino](#):
>
> Create an action of the type "Guess values"

you will see that you chose the wrong action.  
It should be "Guess value" (import tag fields)  
Source pattern would be: %title%  
Target string: %title%-%albumartist%

---

<div class="post-metadata">

**Author:** ![Ian\_Werich](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/9de0a6/32.png) [@Ian\_Werich](https://community.mp3tag.de/u/Ian_Werich)\
**Post date:** [July 4, 2022, 8:53am UTC](https://community.mp3tag.de/t/split-title-into-individual-fields/18964/12 "2022-07-04T08:53:21Z")

</div>

Ops, now I've understood my wrong action.

Thank you very much!  
Ian

---

<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:** [August 3, 2022, 8:54am UTC](https://community.mp3tag.de/t/split-title-into-individual-fields/18964/13 "2022-08-03T08:54:15Z")

</div>

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