# Stripping Apostrophes from Filenames

**URL:** https://community.mp3tag.de/t/stripping-apostrophes-from-filenames/52621
**Category:** Mac
**Created:** [March 31, 2021, 5:10pm UTC](https://community.mp3tag.de/t/stripping-apostrophes-from-filenames/52621 "2021-03-31T17:10:03Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![BladeRunner-N7MX](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/58956e/32.png) [@BladeRunner-N7MX](https://community.mp3tag.de/u/BladeRunner-N7MX)
#### Post date: [March 31, 2021, 5:10pm UTC](https://community.mp3tag.de/t/stripping-apostrophes-from-filenames/52621/1 "2021-03-31T17:10:03Z")

</div>

Hello,

Currently running the latest Mac version 1.1.1 (44)

I've searched google and the community, and have tried everything I've found...

I have several tracks with an apostrophe in the Album Name, and several tracks with an apostrophe in the Title, and several tracks with an apostrophe in both the Album Name and the Title as well. They need to stay in the meta fields, but I do not want them in the filename.

I have tried the following Action:  
Format Tag Field  
Field: \_FILENAME  
Format: $replace(%\_Filename%,',) \<-- Single apostrophe  
or  
Format: $replace(%\_Filename%,'',). \<-- 2 Single apostrophes  
or  
Format: $replace(%\_Filename%,"'",) \<-- quoted single apostrophe  
or  
Format: $replace(%\_Filename%,$char(39),)

None of these work.

I have also tried the following Actions  
Replace  
Field: \_FILENAME  
Original: '  
Replace:

or  
Original: ''  
Replace:

This does not work either.

Finally, I have tried Convert Tag-\>Filename, using every iteration of $replace I can think of... nothing works.

All methods above work with replacing (or stripping) other characters... just not the single apostrophe.

What am I missing??

---

<div class="post-metadata">

### Author: ![BladeRunner-N7MX](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/58956e/32.png) [@BladeRunner-N7MX](https://community.mp3tag.de/u/BladeRunner-N7MX)
#### Post date: [March 31, 2021, 6:08pm UTC](https://community.mp3tag.de/t/stripping-apostrophes-from-filenames/52621/2 "2021-03-31T18:08:19Z")

</div>

Please disregard this.

It turns out the apostrophes I've been trying to strip, is not an apostrophe at all.

I realized this after finding the following post: [Apostrophe vs. Accent aigu](https://community.mp3tag.de/t/apostrophe-vs-accent-aigu/49672)

apostrophe (') vs accent aigu (´)

---

<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 30, 2021, 6:08pm UTC](https://community.mp3tag.de/t/stripping-apostrophes-from-filenames/52621/3 "2021-04-30T18:08:30Z")

</div>

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