# Replace Action

**URL:** <https://community.mp3tag.de/t/replace-action/14675>\
**Category:** Support\
**Created:** [April 27, 2013, 4:03am UTC](https://community.mp3tag.de/t/replace-action/14675 "2013-04-27T04:03:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tdw](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/73ab20/32.png) [@tdw](https://community.mp3tag.de/u/tdw)\
**Post date:** [April 27, 2013, 4:03am UTC](https://community.mp3tag.de/t/replace-action/14675/1 "2013-04-27T04:03:14Z")

</div>

I have Album tags I wish to rename by removing the appended catalog id in brackets.

e.g. Reflections [BED82]

I've tried using Replace "ALBUM": "[.+]" -\> ""

What I am doing wrong?

---

<div class="post-metadata">

**Author:** ![JJ\_Johnson](https://community.mp3tag.de/user_avatar/community.mp3tag.de/jj_johnson/32/67_2.png) [@JJ\_Johnson](https://community.mp3tag.de/u/JJ_Johnson)\
**Post date:** [April 27, 2013, 4:11am UTC](https://community.mp3tag.de/t/replace-action/14675/2 "2013-04-27T04:11:25Z")

</div>

Are you using a _Replace with regular expression_ action, and not a plain _Replace_ action?

---

<div class="post-metadata">

**Author:** ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)\
**Post date:** [April 27, 2013, 4:13am UTC](https://community.mp3tag.de/t/replace-action/14675/3 "2013-04-27T04:13:11Z")

</div>

> [@tdw](#):
>
> I've tried using Replace "ALBUM": "[.+]" -\> ""

You are using the action-type "Replace" instead of "Regular expression"?

---

<div class="post-metadata">

**Author:** ![tdw](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/73ab20/32.png) [@tdw](https://community.mp3tag.de/u/tdw)\
**Post date:** [April 27, 2013, 4:16am UTC](https://community.mp3tag.de/t/replace-action/14675/4 "2013-04-27T04:16:05Z")

</div>

> [@JJ Johnson](#):
>
> Are you using a _Replace with regular expression_ action, and not a plain _Replace_ action?

DOH! 😆 I assumed I was using the regular expression.

Thanks!

---

<div class="post-metadata">

**Author:** ![JJ\_Johnson](https://community.mp3tag.de/user_avatar/community.mp3tag.de/jj_johnson/32/67_2.png) [@JJ\_Johnson](https://community.mp3tag.de/u/JJ_Johnson)\
**Post date:** [April 27, 2013, 4:16am UTC](https://community.mp3tag.de/t/replace-action/14675/5 "2013-04-27T04:16:44Z")

</div>

You'll probably also want to remove the space right before the bracket. You could do that by executing a second action that uses a $trim() function, but it could be done in the same _Replace with regular expression_ action.

_Action type:_ **Replace with regular expression**  
_Field:_ **ALBUM**  
_Regular expression:_ **\s\*[.+]**  
_Replace matches with:_   
[] _case-sensitive comparison_

---

<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:24pm UTC](https://community.mp3tag.de/t/replace-action/14675/6 "2026-02-09T12:24:27Z")

</div>

Closed on February 9, 2026, 12:24pm UTC


