# Convert from tag to filename makes spaces

**URL:** https://community.mp3tag.de/t/convert-from-tag-to-filename-makes-spaces/10301
**Category:** Support
**Created:** [April 16, 2010, 12:21pm UTC](https://community.mp3tag.de/t/convert-from-tag-to-filename-makes-spaces/10301 "2010-04-16T12:21:41Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![blu3ski](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/d07c76/32.png) [@blu3ski](https://community.mp3tag.de/u/blu3ski)
#### Post date: [April 16, 2010, 12:21pm UTC](https://community.mp3tag.de/t/convert-from-tag-to-filename-makes-spaces/10301/1 "2010-04-16T12:21:41Z")

</div>

![](http://img176.imageshack.us/img176/3718/52248765.png)

Underlined red, where comes spaces.  
If this is not a bug (then how to remove spaces?), please move to proper section.

---

<div class="post-metadata">

### Author: ![freekey](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/779978/32.png) [@freekey](https://community.mp3tag.de/u/freekey)
#### Post date: [April 16, 2010, 12:41pm UTC](https://community.mp3tag.de/t/convert-from-tag-to-filename-makes-spaces/10301/2 "2010-04-16T12:41:22Z")

</div>

Most probably there are extra spaces in those fields themselves that you cannot see them from the display.

This is the code I used in my Actions script.

```
[#13]
T=4
F=_ALL
1=^\\\\s+
2=
3=0

[#14]
T=4
F=_ALL
1=\\\\s+$
2=
3=0

```

It is used to trim all the trailing spaces (front and end) from any field.

Thank you.

---

<div class="post-metadata">

### Author: ![freekey](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/779978/32.png) [@freekey](https://community.mp3tag.de/u/freekey)
#### Post date: [April 16, 2010, 12:45pm UTC](https://community.mp3tag.de/t/convert-from-tag-to-filename-makes-spaces/10301/3 "2010-04-16T12:45:18Z")

</div>

Please refer to the attachment.

Hope the screenshot helps you understand better what I mean. Those in the red box is the one which I'm talking about.

Thank you.

![](https://community.mp3tag.de/uploads/default/original/2X/f/f4996d82538c4fd4787fc1e63cb03caa696a3c16.gif)

---

<div class="post-metadata">

### Author: ![blu3ski](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/d07c76/32.png) [@blu3ski](https://community.mp3tag.de/u/blu3ski)
#### Post date: [April 16, 2010, 1:17pm UTC](https://community.mp3tag.de/t/convert-from-tag-to-filename-makes-spaces/10301/4 "2010-04-16T13:17:53Z")

</div>

My bad - it is not a bug, but something wrong with this one album.  
For admin: Please delete this topic or move to proper section.

---

<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:22pm UTC](https://community.mp3tag.de/t/convert-from-tag-to-filename-makes-spaces/10301/5 "2026-02-09T12:22:18Z")

</div>


