# Add New Line Before A Bracket

**URL:** <https://community.mp3tag.de/t/add-new-line-before-a-bracket/56916>\
**Category:** Support\
**Created:** [April 2, 2022, 9:09am UTC](https://community.mp3tag.de/t/add-new-line-before-a-bracket/56916 "2022-04-02T09:09:06Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samvargu](https://community.mp3tag.de/user_avatar/community.mp3tag.de/samvargu/32/11407_2.png) [@Samvargu](https://community.mp3tag.de/u/Samvargu)\
**Post date:** [April 2, 2022, 9:09am UTC](https://community.mp3tag.de/t/add-new-line-before-a-bracket/56916/1 "2022-04-02T09:09:06Z")

</div>

I've been trying to add a new line behind a bracket on the lyrics tag but I ended up giving up and coming here, let's say I have a lyrics tag like this:

_**[Refrain]**_  
_ **La-da-da, la-da-da** _

_**[Bridge]**_  
_ **All that time spent with my therapist** _  
_ **Talking over all your arrogance** _  
_**[Chorus]**_  
_ **If you're gonna send it, they might save it** _

could someone help me out with an Action to add a new line behind _[Chorus]_ but not on the other brackets? I have this problem in multiple songs and has been bugging me out for while 🫤

---

<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:** [April 2, 2022, 9:32am UTC](https://community.mp3tag.de/t/add-new-line-before-a-bracket/56916/2 "2022-04-02T09:32:20Z")

</div>

You could try to replace the invisible "carriage return" (and maybe linefeed) at the end of the word arrogance followed by an opening bracket `[` with a carriage return \*\*and two linefeeds \*\* (`\r\n\n`) followed by an opening bracket `[`

The problem is: We can't see what character(s) exactly follows at the end of "arrogance" before `[`

---

<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 2, 2022, 11:40am UTC](https://community.mp3tag.de/t/add-new-line-before-a-bracket/56916/3 "2022-04-02T11:40:39Z")

</div>

I would do it in 2 steps:  
first relace all brackets with an additional new line,  
then replace all triple new lines with 2 new lines.

---

<div class="post-metadata">

**Author:** ![Samvargu](https://community.mp3tag.de/user_avatar/community.mp3tag.de/samvargu/32/11407_2.png) [@Samvargu](https://community.mp3tag.de/u/Samvargu)\
**Post date:** [April 2, 2022, 4:20pm UTC](https://community.mp3tag.de/t/add-new-line-before-a-bracket/56916/4 "2022-04-02T16:20:12Z")

</div>

That's exactly what I tried before but the second step didn't change anything.  
Could you tell me exactly how to do it? maybe yours could actually work

---

<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 2, 2022, 4:22pm UTC](https://community.mp3tag.de/t/add-new-line-before-a-bracket/56916/5 "2022-04-02T16:22:52Z")

</div>

> [@Samvargu](#):
>
> That's exactly what I tried before but the second step didn't change anything

Could you show us what you tried?  
Which function/action?  
Which format string?

I tried it with Converter\>Tag-Tag for UNSYNCEDLYRICS  
Format string: `$regexp($regexp(%unsyncedlyrics%,'\r\n\[','\r\n\r\n\['),\r\n\r\n\r\n,\r\n\r\n)`

---

<div class="post-metadata">

**Author:** ![Samvargu](https://community.mp3tag.de/user_avatar/community.mp3tag.de/samvargu/32/11407_2.png) [@Samvargu](https://community.mp3tag.de/u/Samvargu)\
**Post date:** [April 2, 2022, 4:33pm UTC](https://community.mp3tag.de/t/add-new-line-before-a-bracket/56916/6 "2022-04-02T16:33:25Z")

</div>

I don't know much about this stuff, but what i did was:

1. replace with regular expresion  
Field: UNSYNCEDLYRICS  
Regulas expresion: \n[  
Replace matches with: \n\n[

2. replace with regular expresion  
Field: UNSYNCEDLYRICS  
Regulas expresion: \n\n\n[  
Replace matches with: \n\n[

the 2nd step did not work, I'm unaware of what I'm doing wrong

---

<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 2, 2022, 4:40pm UTC](https://community.mp3tag.de/t/add-new-line-before-a-bracket/56916/7 "2022-04-02T16:40:04Z")

</div>

> [@Samvargu](#):
>
> \n\n[

I think that it is not just `\n` but a complete new line is actually `\r\n`.  
Have you tried my idea?

> [@ohrenkino](#):
>
> I tried it with Converter\>Tag-Tag for UNSYNCEDLYRICS  
> Format string: `$regexp($regexp(%unsyncedlyrics%,'\r\n\[','\r\n\r\n\['),\r\n\r\n\r\n,\r\n\r\n)`

---

<div class="post-metadata">

**Author:** ![Samvargu](https://community.mp3tag.de/user_avatar/community.mp3tag.de/samvargu/32/11407_2.png) [@Samvargu](https://community.mp3tag.de/u/Samvargu)\
**Post date:** [April 2, 2022, 4:44pm UTC](https://community.mp3tag.de/t/add-new-line-before-a-bracket/56916/8 "2022-04-02T16:44:41Z")

</div>

Haha sorry I had not read that part of your message, but, Yes! Your idea actually worked, thank you so much!!

---

<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:** [May 2, 2022, 4:45pm UTC](https://community.mp3tag.de/t/add-new-line-before-a-bracket/56916/9 "2022-05-02T16:45:04Z")

</div>

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