# Replacing a specific char

**URL:** https://community.mp3tag.de/t/replacing-a-specific-char/16222
**Category:** General Discussion
**Created:** [October 9, 2014, 7:12am UTC](https://community.mp3tag.de/t/replacing-a-specific-char/16222 "2014-10-09T07:12:23Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![gertsg](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/f475e1/32.png) [@gertsg](https://community.mp3tag.de/u/gertsg)
#### Post date: [October 9, 2014, 7:12am UTC](https://community.mp3tag.de/t/replacing-a-specific-char/16222/1 "2014-10-09T07:12:23Z")

</div>

Could you please let me know how can I replace the last character of any word in my tags, without replacing the similar characters inside the word?  
For example, change the word ababa to ababc.  
Thanks in advance

---

<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: [October 9, 2014, 7:21am UTC](https://community.mp3tag.de/t/replacing-a-specific-char/16222/2 "2014-10-09T07:21:46Z")

</div>

Create an action of the type "Replace with regular expression"  
Type in as search string: a$  
Type in as replace string: c

---

<div class="post-metadata">

### Author: ![gertsg](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/f475e1/32.png) [@gertsg](https://community.mp3tag.de/u/gertsg)
#### Post date: [October 9, 2014, 8:58am UTC](https://community.mp3tag.de/t/replacing-a-specific-char/16222/3 "2014-10-09T08:58:33Z")

</div>

> [@ohrenkino](#):
>
> Create an action of the type "Replace with regular expression"  
> Type in as search string: a$  
> Type in as replace string: c

Thanks a lot. Very kind of you.  
What if there are more than one word?  
Example : ababa cdcda efefa.... to ababc cdcdc efefc

---

<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: [October 9, 2014, 11:17am UTC](https://community.mp3tag.de/t/replacing-a-specific-char/16222/4 "2014-10-09T11:17:10Z")

</div>

> [@gertsg](#):
>
> Thanks a lot. Very kind of you.  
> What if there are more than one word?  
> Example : ababa cdcda efefa.... to ababc cdcdc efefc

a second action would be necessary  
search a\s  
replace with c

I cannot think of any string where that would make sense.

---

<div class="post-metadata">

### Author: ![gertsg](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/f475e1/32.png) [@gertsg](https://community.mp3tag.de/u/gertsg)
#### Post date: [October 9, 2014, 4:51pm UTC](https://community.mp3tag.de/t/replacing-a-specific-char/16222/5 "2014-10-09T16:51:48Z")

</div>

> [@ohrenkino](#):
>
> a second action would be necessary  
> search a\s  
> replace with c
> 
> I cannot think of any string where that would make sense.

Great !!! It works. Thanks
