# Removing semicolon during an action

**URL:** https://community.mp3tag.de/t/removing-semicolon-during-an-action/70975
**Category:** Mac
**Created:** [March 31, 2026, 9:37am UTC](https://community.mp3tag.de/t/removing-semicolon-during-an-action/70975 "2026-03-31T09:37:52Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Walts](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/w/bbce88/32.png) [@Walts](https://community.mp3tag.de/u/Walts)
#### Post date: [March 31, 2026, 9:37am UTC](https://community.mp3tag.de/t/removing-semicolon-during-an-action/70975/1 "2026-03-31T09:37:52Z")

</div>

I just swapped over from Windows 11 to macOS and got into a issue i didn’t have on Windows 11.

I am using the Audible API to pull down Audiobook tags and then i run a action to rename and move the files to a smb share running on my Unraid server.

The action i am running is this: /Volumes/media/books/Audiobooks/%ALBUMARTIST%/%series%/%YEAR% - %ALBUM%['['%series% %series-part%']']/%album% (%year%)['['%series% %series-part%']']$ifgreater(%\_total\_files%,1, - pt$num(%track%,2),)

 ![Skjermbilde 2026-03-31 kl. 11.52.54](https://community.mp3tag.de/uploads/default/original/3X/c/f/cf52f6f970117684f375f37aca6bc76c24180dfe.png)

I noticed that Books that have a ” : ” get replaced by \_ and read up that is how it works here: [Why is MP3 Tag Replacing Chars - #15 by Florian](https://community.mp3tag.de/t/why-is-mp3-tag-replacing-chars/59808/15)

In Windows 11 it just removes “ : “ while renaming and i wanted something similar on macOS, but since that doesn’t seem possible is there a good way to remove the “ : “ all together during an action so i don’t need to manually change it before running the action or have to make more clicks.

I tried adding Replace “ALBUM”: “:” → ““ and it does remove it from the album, but it still replaces : with \_ in the filename.

If i run it twice it works with the last addition, but

---

<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 31, 2026, 11:07am UTC](https://community.mp3tag.de/t/removing-semicolon-during-an-action/70975/2 "2026-03-31T11:07:30Z")

</div>

> [@Walts](#):
>
> tried adding Replace “ALBUM”: “:” → ““ and it does remove it from the album, but it still replaces : with \_ in the filename.

You could use `$replace(%album%,:,)` in the format string instead of the simple `%album%`

---

<div class="post-metadata">

### Author: ![Walts](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/w/bbce88/32.png) [@Walts](https://community.mp3tag.de/u/Walts)
#### Post date: [March 31, 2026, 11:22am UTC](https://community.mp3tag.de/t/removing-semicolon-during-an-action/70975/3 "2026-03-31T11:22:41Z")

</div>

> [@ohrenkino](#):
>
> $replace(%album%,:,)

Thank you so much, that did the trick.  
It even kept the “ : “ in the metadata when i removed Replace “ALBUM”: “:” → ““.

---

<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: [April 7, 2026, 11:23am UTC](https://community.mp3tag.de/t/removing-semicolon-during-an-action/70975/4 "2026-04-07T11:23:05Z")

</div>

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