# Remove comma " ,  "

**URL:** <https://community.mp3tag.de/t/remove-comma/17106>\
**Category:** Support\
**Created:** [July 30, 2015, 2:52am UTC](https://community.mp3tag.de/t/remove-comma/17106 "2015-07-30T02:52:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![bertiepr](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/a9a28c/32.png) [@bertiepr](https://community.mp3tag.de/u/bertiepr)\
**Post date:** [July 30, 2015, 2:52am UTC](https://community.mp3tag.de/t/remove-comma/17106/1 "2015-07-30T02:52:51Z")

</div>

Hi,

Please tell me what action is required to remove the "comma" form the artist field, when the "comma" is the last character of the field.

Example: Donna Summer,

```
                         to
               Donna Summer

```

Thanks!

---

<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:** [July 30, 2015, 3:16am UTC](https://community.mp3tag.de/t/remove-comma/17106/2 "2015-07-30T03:16:49Z")

</div>

> [@bertiepr](#):
>
> ...Please tell me what action is required to remove the "comma" form the artist field, when the "comma" is the last character of the field. ...

Create an action of the type "Replace with regular expression" for ARTIST  
Search string: ,$  
Replace string:  
(leave empty)

---

<div class="post-metadata">

**Author:** ![bertiepr](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/a9a28c/32.png) [@bertiepr](https://community.mp3tag.de/u/bertiepr)\
**Post date:** [July 30, 2015, 3:21am UTC](https://community.mp3tag.de/t/remove-comma/17106/3 "2015-07-30T03:21:16Z")

</div>

Not working.... 😳

---

<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:** [July 30, 2015, 3:54am UTC](https://community.mp3tag.de/t/remove-comma/17106/4 "2015-07-30T03:54:27Z")

</div>

It should - at least it works on my machine with your specification.

So check the search string - no blanks in front of the comma.  
And check if the comma is really the last character and not an (invisible) blank ...  
Or expand the search string to:  
, $

---

<div class="post-metadata">

**Author:** ![bertiepr](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/a9a28c/32.png) [@bertiepr](https://community.mp3tag.de/u/bertiepr)\
**Post date:** [July 30, 2015, 4:14am UTC](https://community.mp3tag.de/t/remove-comma/17106/5 "2015-07-30T04:14:12Z")

</div>

Yes !!!! Thank's a lot !! ![:rolleyes:](https://community.mp3tag.de/uploads/default/original/1X/3a79e8b0b7d169b30216785521d7c6f4f895c421.gif ":rolleyes:")

---

<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:** [July 30, 2015, 6:20am UTC](https://community.mp3tag.de/t/remove-comma/17106/6 "2015-07-30T06:20:51Z")

</div>

> [@bertiepr](#):
>
> Hi, Please tell me what action is required to remove the "comma" form the artist field, when the "comma" is the last character of the field.  
> Example: Donna Summer, to Donna Summer

**Action: "Format value" Feld: ARTIST Formatstring: $trimRight(%ARTIST%,',') From: 'Donna Summer,' To : 'Donna Summer'**

If there is also one or more space character at the right side of the given string, then apply this ...

**Action: "Format value" Feld: ARTIST Formatstring: $trimRight(%ARTIST%,', ') ... or Formatstring: $trimRight(%ARTIST%,' ,') From: 'Donna Summer, ' To : 'Donna Summer' From: 'Donna Summer , , ,,, ,,,, ,' To : 'Donna Summer'**

DD.20150730.1027.CEST

---

<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:25pm UTC](https://community.mp3tag.de/t/remove-comma/17106/7 "2026-02-09T12:25:47Z")

</div>

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


