# Is It Possible To Modify "%album%" To Remove Spaces?

**URL:** https://community.mp3tag.de/t/is-it-possible-to-modify-album-to-remove-spaces/13208
**Category:** Support
**Created:** [March 12, 2012, 3:20am UTC](https://community.mp3tag.de/t/is-it-possible-to-modify-album-to-remove-spaces/13208 "2012-03-12T03:20:03Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![LouieChuckyMerry](https://community.mp3tag.de/user_avatar/community.mp3tag.de/louiechuckymerry/32/367_2.png) [@LouieChuckyMerry](https://community.mp3tag.de/u/LouieChuckyMerry)
#### Post date: [March 12, 2012, 3:20am UTC](https://community.mp3tag.de/t/is-it-possible-to-modify-album-to-remove-spaces/13208/1 "2012-03-12T03:20:03Z")

</div>

Hello, and thanks in advance for any help. I was wondering if it's possible to edit "%album%" under "Tag Sources\Default file name for cover art:" so that the spaces are removed; that is, can "%album%" somehow be modified such that the album title Example Album Here defaults to ExampleAlbumHere when obtaining cover art? I searched the forum and Googled around but was unable to find an answer, probably because I was wording the question incorrectly. Thanks again.

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [March 12, 2012, 4:52am UTC](https://community.mp3tag.de/t/is-it-possible-to-modify-album-to-remove-spaces/13208/2 "2012-03-12T04:52:04Z")

</div>

> [@LouieChuckyMerry](#):
>
> ... I was wondering if it's possible to edit "%album%" under "Tag Sources\Default file name for cover art:" so that the spaces are removed; that is, can "%album%" somehow be modified such that the album title Example Album Here defaults to ExampleAlbumHere when obtaining cover art? ...

Hmm, yes, I think so, you can use the Mp3tag Scripting Language in this edit field.  
Functions like $validate, $replace and so on are available.

DD.20120312.0652.CET

---

<div class="post-metadata">

### Author: ![LouieChuckyMerry](https://community.mp3tag.de/user_avatar/community.mp3tag.de/louiechuckymerry/32/367_2.png) [@LouieChuckyMerry](https://community.mp3tag.de/u/LouieChuckyMerry)
#### Post date: [March 12, 2012, 5:39am UTC](https://community.mp3tag.de/t/is-it-possible-to-modify-album-to-remove-spaces/13208/3 "2012-03-12T05:39:51Z")

</div>

Thanks for your reply, DetlevD. I just read the Help section on Scripting Functions-- ![:wacko:](https://community.mp3tag.de/uploads/default/original/1X/455ecca54df2b24f3c99cde256604242b1031da2.gif ":wacko:")--and after recovering, I edited the "%album%" under "Options\Tag Sources\Default file name for cover art:" to "$replace(%album%, ,)" and it worked perfectly. Thanks again for pointing me in the right direction; I appreciate it 🙂 .

A related question: is it possible to create an action that would rename the cover art image in all the folders in a path, for example "D:\Music\Artist\Album", with the album name but without altering the music files in any way?

---

<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:23pm UTC](https://community.mp3tag.de/t/is-it-possible-to-modify-album-to-remove-spaces/13208/4 "2026-02-09T12:23:43Z")

</div>


