# Replace single quotes?

**URL:** https://community.mp3tag.de/t/replace-single-quotes/9834
**Category:** Support
**Created:** [February 6, 2010, 4:43am UTC](https://community.mp3tag.de/t/replace-single-quotes/9834 "2010-02-06T04:43:34Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![djatwork](https://community.mp3tag.de/user_avatar/community.mp3tag.de/djatwork/32/5560_2.png) [@djatwork](https://community.mp3tag.de/u/djatwork)
#### Post date: [February 6, 2010, 4:43am UTC](https://community.mp3tag.de/t/replace-single-quotes/9834/1 "2010-02-06T04:43:34Z")

</div>

I tried the following and get an error:

```
$replace(%genre%,',#39;)

```

[SYNTAX ERROR IN FORMATTING STRING]

I also tried to escape the single quote, but get the same error:

```
$replace(%genre%,\',#39;)

```

am i missing something?

Cheers,  
Drew

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [February 6, 2010, 6:45am UTC](https://community.mp3tag.de/t/replace-single-quotes/9834/2 "2010-02-06T06:45:29Z")

</div>

Write two single quotes.

---

<div class="post-metadata">

### Author: ![djatwork](https://community.mp3tag.de/user_avatar/community.mp3tag.de/djatwork/32/5560_2.png) [@djatwork](https://community.mp3tag.de/u/djatwork)
#### Post date: [February 6, 2010, 6:55am UTC](https://community.mp3tag.de/t/replace-single-quotes/9834/3 "2010-02-06T06:55:04Z")

</div>

Thanks Dano, that worked. I think I must be tired, that's a rookie mistake 😉

---

<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:22pm UTC](https://community.mp3tag.de/t/replace-single-quotes/9834/4 "2026-02-09T12:22:09Z")

</div>


