# Import multiline tag data

**URL:** <https://community.mp3tag.de/t/import-multiline-tag-data/41409>\
**Category:** Support\
**Created:** [April 12, 2018, 6:08pm UTC](https://community.mp3tag.de/t/import-multiline-tag-data/41409 "2018-04-12T18:08:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bmcelvan](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/ea666f/32.png) [@bmcelvan](https://community.mp3tag.de/u/bmcelvan)\
**Post date:** [April 12, 2018, 6:08pm UTC](https://community.mp3tag.de/t/import-multiline-tag-data/41409/1 "2018-04-12T18:08:39Z")

</div>

Was just made aware that you can use CTRL+Enter to add a line in a multiline field.

I LOVE this especially when it comes to the COMMENT field. However, I have encountered a problem.

If I have the comment field as this:  
flac8\_1.3.2 - Lame\_3.99.5\_v2\_92dB, Recorded June 1977, Released September 1, 1977  
and export and import using %comment% it works just fine.

However if I change the COMMENT field to this:  
flac8\_1.3.2 - Lame\_3.99.5\_v2\_92dB  
Recorded June 1977  
Released September 1, 1977  
it seems to export okay, when I look at the text file it has added two "returns" like the field does but when I try to import it (Convert--\>Text file to tag) it breaks the import.

I can think of two options to fix this but don't know how to do either.  
1 - Is there a way to export the %comment% field so that it doesn't include hard returns in the text file but rather a symbol or a text string/function that mp3tag understands when it is imported?  
or  
2 - How do I modify the import string to understand the hard returns are part of the field itself?

Any ideas?

Thanks

---

<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:** [April 12, 2018, 6:38pm UTC](https://community.mp3tag.de/t/import-multiline-tag-data/41409/2 "2018-04-12T18:38:29Z")

</div>

One line is one record for one file. So you have to keep the data in one line - and remove/replace the line breaks with something else, preferably a printable character.  
So, for your export, instead of using the plain %comment% try  
`$regexp(%comment%,\r\n,==)`

After the import you run an action that replaces == with $char(13)$char(10)

---

<div class="post-metadata">

**Author:** ![bmcelvan](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/ea666f/32.png) [@bmcelvan](https://community.mp3tag.de/u/bmcelvan)\
**Post date:** [April 12, 2018, 6:54pm UTC](https://community.mp3tag.de/t/import-multiline-tag-data/41409/3 "2018-04-12T18:54:02Z")

</div>

Thanks for the info, I will give it a try.

Cheers!

---

<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/import-multiline-tag-data/41409/4 "2026-02-09T12:27:22Z")

</div>


