# How to remove apostrophes from titles

**URL:** https://community.mp3tag.de/t/how-to-remove-apostrophes-from-titles/17013
**Category:** Support
**Created:** [July 3, 2015, 10:46am UTC](https://community.mp3tag.de/t/how-to-remove-apostrophes-from-titles/17013 "2015-07-03T10:46:16Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Jekyll](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/f14d63/32.png) [@Jekyll](https://community.mp3tag.de/u/Jekyll)
#### Post date: [July 3, 2015, 10:46am UTC](https://community.mp3tag.de/t/how-to-remove-apostrophes-from-titles/17013/1 "2015-07-03T10:46:16Z")

</div>

Hi everyone,

I've been using mp3tag for a while now, and I find it sooooo useful, saved me a bunch of time to be honest. So first of all, thanks for making this tool!

So my problem is, I have a few songs in french, and in this language, the apostrophe is really common but when I try and upload some of those files on my dedicated server via SFTP, the upload just won't start because of it, so I told to myself: Is there any chance that mp3tag could remove apostrophes from title names?  
I came across [this page](https://docs.mp3tag.de/scripting) but it's really complicated for me.

For now, the format of my songs are like that: '$num(%track%,2). %artist% - %title%'

Is there anyone that could put it down in a more simple way?

Thanks and have a good week-end!

---

<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 3, 2015, 2:56pm UTC](https://community.mp3tag.de/t/how-to-remove-apostrophes-from-titles/17013/2 "2015-07-03T14:56:18Z")

</div>

> [@Jekyll](#):
>
> ....  
> For now, the format of my songs are like that: '$num(%track%,2). %artist% - %title%'
> 
> Is there anyone that could put it down in a more simple way?
> 
> Thanks and have a good week-end!

Expand your mask like this:  
$replace($num(%track%,2). %artist% - %title%,'',\_)  
This replaces all apostrophes with an underscore before the filename is created.  
Please not that the '' is 2 ' and not a single "

---

<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 3, 2015, 4:23pm UTC](https://community.mp3tag.de/t/how-to-remove-apostrophes-from-titles/17013/3 "2015-07-03T16:23:24Z")

</div>

> [@Jekyll](#):
>
> ... Is there any chance that mp3tag could remove apostrophes from title names?

Replace apostrophe with underline character ...

**$replace(%TITLE%,'','\_') $replace(%TITLE%,$char(39),'\_') $replace(%TITLE%,$char(39),$char(95))**

Remove apostrophe character ...

**$replace(%TITLE%,'',) $replace(%TITLE%,$char(39),) $replace(%TITLE%,$char(39),$char(0))**

DD.20150703.2029.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/how-to-remove-apostrophes-from-titles/17013/4 "2026-02-09T12:25:44Z")

</div>


