# Move parts of comment field to other fields

**URL:** <https://community.mp3tag.de/t/move-parts-of-comment-field-to-other-fields/41754>\
**Category:** Support\
**Created:** [May 22, 2018, 6:57am UTC](https://community.mp3tag.de/t/move-parts-of-comment-field-to-other-fields/41754 "2018-05-22T06:57:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![stewboz](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/e8c25b/32.png) [@stewboz](https://community.mp3tag.de/u/stewboz)\
**Post date:** [May 22, 2018, 6:57am UTC](https://community.mp3tag.de/t/move-parts-of-comment-field-to-other-fields/41754/1 "2018-05-22T06:57:45Z")

</div>

I apologize in advance. I'm very new to scripting and I don't really even know the language that well.

Since I wanted to retain a lot of information about my various mp3s, I saved all the info in the comment field because it allowed for a large number of characters. I formatted the information in a way that I believed would allow me to extract individual pieces of information once I figured out how. Here is the comment tag for one of my files:

[c]recorded in home studio in London[[c]]  
[reld]23[[reld]]  
[relm]04[[relm]]  
[rely]1985[[rely]]  
[recd]13[[recd]]  
[recm]12[[recm]]  
[recy]1984[[recy]]

now I would like to extract the rely (release year), which is 1985, and place it in the common "year" field. I assumed that because I have unique open/close strings surrounding the year, it would be easy to programmatically extract it. I just don't know how to do it. Thank you in advance for your help.

---

<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 22, 2018, 7:06am UTC](https://community.mp3tag.de/t/move-parts-of-comment-field-to-other-fields/41754/2 "2018-05-22T07:06:16Z")

</div>

> [@stewboz](#):
>
> now I would like to extract the rely (release year), which is 1985, and place it in the common "year" field

What do you mean by "extract"? Copy or move?  
What is supposed to happen with the rest of the data in comment?

A "copy" could be done with an action of the type "Guess value"  
Source: %comment%  
Format string: `%dummy%[rely]%year%[[rely]]%dummy%`

---

<div class="post-metadata">

**Author:** ![stewboz](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/e8c25b/32.png) [@stewboz](https://community.mp3tag.de/u/stewboz)\
**Post date:** [May 22, 2018, 7:44am UTC](https://community.mp3tag.de/t/move-parts-of-comment-field-to-other-fields/41754/3 "2018-05-22T07:44:16Z")

</div>

Yeah, I don't know why I decided to use the word "extract", but you assumed correctly and your formula worked perfectly. Thank you so much for the quick response. 😀

---

<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/move-parts-of-comment-field-to-other-fields/41754/4 "2026-02-09T12:27:26Z")

</div>


