# formatting mp3 tags

**URL:** https://community.mp3tag.de/t/formatting-mp3-tags/15916
**Category:** Support
**Created:** [July 18, 2014, 9:44am UTC](https://community.mp3tag.de/t/formatting-mp3-tags/15916 "2014-07-18T09:44:37Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ForSSound](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/258eb7/32.png) [@ForSSound](https://community.mp3tag.de/u/ForSSound)
#### Post date: [July 18, 2014, 9:44am UTC](https://community.mp3tag.de/t/formatting-mp3-tags/15916/1 "2014-07-18T09:44:37Z")

</div>

Hi There,

Hi I would like to make several actions

**1)The first action matches first 2 lines and put every thing on 1 line** 

```
from: 
ETHNO POP - ETHNIC POP,
MID ,arabazing, lanscape, walk , sharing,
MEDIUM,arabisant, paysage, partage, marche,

to:
ETHNO POP - ETHNIC POP,MID ,arabazing, lanscape, walk , sharing,

```

Regular expression: (.\*)\n

Replace matches with: $1

this did the job

**2)The second action matches words and put a , behind every word**

```
from:
ETHNO POP - ETHNIC POP,MID ,arabazing, lanscape, walk , sharing,

to:
ETHNO, POP, - ETHNIC, POP,,MID, ,arabazing,, lanscape,, walk ,, sharing,,

```

**3) This action could search for ,, and , , and replace them with ,**

```
from:
ETHNO, POP, - ETHNIC, POP,,MID, ,arabazing,, lanscape,, walk ,, sharing,,
to:
ETHNO, POP, - ETHNIC, POP,MID, arabazing, lanscape, walk , sharing,

```

**4) This action removes words completely written in capitals**

```
from:
ETHNO, POP, - ETHNIC, POP,,MID,arabazing, lanscape, walk , sharing,
to:
arabazing, lanscape, walk , sharing,

```

[A-Z][A-Z]+**5) This action removes unnecessary spaces and replaces them with 1 space**

```
from:
ETHNO, POP, - ETHNIC, POP,,MID,arabazing, lanscape, walk , sharing,
to
arabazing, lanscape, walk , sharing,

```

Thanks to [/t/967/1](https://community.mp3tag.de/t/967/1)

Regular expression: ^\s+

Replace matches with:  
Regular expression: \s+$  
Replace matches with:  
Regular expression: \s{2,}  
Replace matches with: " "

This is a lot and that's the reason I seperated it in 5 different actions.

Already a big thank you for reading  
Guy Forssman

---

<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:25pm UTC](https://community.mp3tag.de/t/formatting-mp3-tags/15916/2 "2026-02-09T12:25:08Z")

</div>


