# Multi-line export formatting and adjustments

**URL:** https://community.mp3tag.de/t/multi-line-export-formatting-and-adjustments/67337
**Category:** Export
**Created:** [January 31, 2025, 12:07pm UTC](https://community.mp3tag.de/t/multi-line-export-formatting-and-adjustments/67337 "2025-01-31T12:07:31Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![tor11](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/ebca7d/32.png) [@tor11](https://community.mp3tag.de/u/tor11)
#### Post date: [January 31, 2025, 12:07pm UTC](https://community.mp3tag.de/t/multi-line-export-formatting-and-adjustments/67337/1 "2025-01-31T12:07:31Z")

</div>

I need help with the function exporting multi-line content (e.g. lyrics) to a text file. As a test content I used:

```auto
Vestibulum tincidunt varius tortor, laoreet elementum lorem iaculis eget.

Aenean eleifend tortor vitae dolor blandit laoreet.

Etiam vel pellentesque enim.

Aenean eleifend.

```

I tried `$regexp(%lyrics%,'(.{1,55})(\s|$)',' **$1** \n')`  
But the output was:

```auto
**Vestibulum tincidunt varius tortor, laoreet elementum**
** lorem iaculis eget.

Aenean eleifend tortor vitae **
** dolor blandit laoreet.

Etiam vel pellentesque enim. **
**
Aenean eleifend. **

```

It looks like a problem with handling empty lines.

---

<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: [January 31, 2025, 12:24pm UTC](https://community.mp3tag.de/t/multi-line-export-formatting-and-adjustments/67337/2 "2025-01-31T12:24:03Z")

</div>

> [@tor11](#):
>
> `||\n')`

have you tried `||\r\n')`?

Apparently, the MP3tag regular expression engine does not support "do not return after match".  
You would have to find something else.
