# Insert space in titles, artists, albums, etc

**URL:** https://community.mp3tag.de/t/insert-space-in-titles-artists-albums-etc/63940
**Category:** Support
**Created:** [February 29, 2024, 9:38pm UTC](https://community.mp3tag.de/t/insert-space-in-titles-artists-albums-etc/63940 "2024-02-29T21:38:49Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![djerniehoule](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/dc4da7/32.png) [@djerniehoule](https://community.mp3tag.de/u/djerniehoule)
#### Post date: [February 29, 2024, 9:38pm UTC](https://community.mp3tag.de/t/insert-space-in-titles-artists-albums-etc/63940/1 "2024-02-29T21:38:49Z")

</div>

I have a few songs that look like this "4&20" and some like this "4 & 20" How to set the first to look like the second example without disturbing the correct one?

---

<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: [February 29, 2024, 9:45pm UTC](https://community.mp3tag.de/t/insert-space-in-titles-artists-albums-etc/63940/2 "2024-02-29T21:45:58Z")

</div>

You could try to replace your `&` character with  
`space & space`

> [@djerniehoule](#):
>
> without disturbing the correct one

One easy way could be:

Replace the wrongly builded  
`space space & space space`  
back to  
`space & space`

I think there could be a regular expression solution for this case.  
Maybe I can provide such a solution tomorrow.

---

<div class="post-metadata">

### Author: ![djerniehoule](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/dc4da7/32.png) [@djerniehoule](https://community.mp3tag.de/u/djerniehoule)
#### Post date: [February 29, 2024, 9:47pm UTC](https://community.mp3tag.de/t/insert-space-in-titles-artists-albums-etc/63940/3 "2024-02-29T21:47:39Z")

</div>

are you saying actually type the word space?

---

<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: [February 29, 2024, 9:48pm UTC](https://community.mp3tag.de/t/insert-space-in-titles-artists-albums-etc/63940/4 "2024-02-29T21:48:14Z")

</div>

No, use a normal space.  
It's just nearly impossible to show a space in this forum (using text only):

![image](https://community.mp3tag.de/uploads/default/original/3X/3/7/37c585354b602363f62e2027c432c009dafc1bda.png)  
 ![image](https://community.mp3tag.de/uploads/default/original/3X/1/8/1881ecc38f57f6f6d58828b904536e8f494d74ab.png)

---

<div class="post-metadata">

### Author: ![djerniehoule](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/dc4da7/32.png) [@djerniehoule](https://community.mp3tag.de/u/djerniehoule)
#### Post date: [February 29, 2024, 9:50pm UTC](https://community.mp3tag.de/t/insert-space-in-titles-artists-albums-etc/63940/5 "2024-02-29T21:50:45Z")

</div>

lol right? But yes I have tried that in actions/replace where it searched for space&space and changed to &, but it affected even the correct ones. The start was "`4&20`" and changed those to "`4 & 20`", but the existing ones were changed to "`4 & 20`"

---

<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: [February 29, 2024, 9:53pm UTC](https://community.mp3tag.de/t/insert-space-in-titles-artists-albums-etc/63940/6 "2024-02-29T21:53:00Z")

</div>

Try:  
Format string: `$regexp($replace(%title%,&, & ),\s+, )`

---

<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: [February 29, 2024, 9:56pm UTC](https://community.mp3tag.de/t/insert-space-in-titles-artists-albums-etc/63940/7 "2024-02-29T21:56:32Z")

</div>

Yep, that's what I meant with "change the double space back to space & space" 😉

@ohrenkino's solution does it in one step 👍

---

<div class="post-metadata">

### Author: ![djerniehoule](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/dc4da7/32.png) [@djerniehoule](https://community.mp3tag.de/u/djerniehoule)
#### Post date: [March 1, 2024, 1:05am UTC](https://community.mp3tag.de/t/insert-space-in-titles-artists-albums-etc/63940/8 "2024-03-01T01:05:33Z")

</div>

> [@ohrenkino](#):
>
> $regexp($replace(%title%,&, & ),\s+, )

you guys are awesome thanks!

---

<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: [March 1, 2024, 7:32am UTC](https://community.mp3tag.de/t/insert-space-in-titles-artists-albums-etc/63940/9 "2024-03-01T07:32:59Z")

</div>

A note to future readers:  
Please be aware that the change from  
&  
to  
⎵&⎵  
also changes ARTIST names to a maybe not wanted (not expected) new name.  
_⎵ is only the visible representation of a space_

Bands/Artists with a & in theyr name like  
`&*!!%`  
or the japanese singer with the name  
`&`  
or the group  
`Y&T`  
would be changed to a wrong written new name.

The same is true for ALBUM names. There are dozens of albums with the name  
`&`  
and some like  
`+&+` or `-&-`  
which would be wrongly changed to  
⎵&⎵  
and  
`+ & +` or `- & -`

---

<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: [March 1, 2024, 7:41am UTC](https://community.mp3tag.de/t/insert-space-in-titles-artists-albums-etc/63940/10 "2024-03-01T07:41:24Z")

</div>

in my collection I have replaced all the "featurings" and "vs" with `<& ...>`.  
So, adding blanks to the & would lead to `< & ...>` which I would not welcome.  
This means that a good knowledge of the data is mandatory to avoid nasty side effects that cause just as much work as getting the other stuff right.

---

<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: [March 31, 2024, 7:41am UTC](https://community.mp3tag.de/t/insert-space-in-titles-artists-albums-etc/63940/11 "2024-03-31T07:41:59Z")

</div>

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