# Filter on " character?

**URL:** https://community.mp3tag.de/t/filter-on-character/59170
**Category:** Support
**Created:** [November 23, 2022, 9:46am UTC](https://community.mp3tag.de/t/filter-on-character/59170 "2022-11-23T09:46:08Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![svenhol](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/e95f7d/32.png) [@svenhol](https://community.mp3tag.de/u/svenhol)
#### Post date: [November 23, 2022, 9:46am UTC](https://community.mp3tag.de/t/filter-on-character/59170/1 "2022-11-23T09:46:08Z")

</div>

Hi, I've tried this : "$len($regexp(%title%,'[^"]',))" IS 4 to filter on " character but this won't work, but it works on other characters like (-,?,=).  
What am I doing wrong?

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [November 23, 2022, 9:48am UTC](https://community.mp3tag.de/t/filter-on-character/59170/2 "2022-11-23T09:48:59Z")

</div>

You want to filter all songs with a `"` character anywhere in the tag TITLE?

Maybe this existing topic can help you:

> [@Filter (Finding) double quotation marks "](https://community.mp3tag.de/t/filter-finding-double-quotation-marks/52685/3):
>
> There are workarounds: "$ifgreater($strstr(%title%,$char(34)),0,yes,no)" IS yes or title MATCHES \" or title MATCHES \x22

---

<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: [November 23, 2022, 9:52am UTC](https://community.mp3tag.de/t/filter-on-character/59170/3 "2022-11-23T09:52:34Z")

</div>

Or see here:

> [@How to filter for double quote (")](https://community.mp3tag.de/t/how-to-filter-for-double-quote/46994/3):
>
> You can filter for the quote with a little more complex expression: "$ifgreater($strstr(%title%,$char(34)),0,yes,no)" IS yes

Also, see the documentation on Filters:

> **[Filter and Search – Mp3tag Documentation](https://docs.mp3tag.de/filter/)**
>
> Documentation on Filter and Search and keywords to form complex filter expressions. Mp3tag is the universal Tag Editor.

"It is not possible to filter by strings containing double quotations marks. This is a limitation of the feature."

---

<div class="post-metadata">

### Author: ![svenhol](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/e95f7d/32.png) [@svenhol](https://community.mp3tag.de/u/svenhol)
#### Post date: [November 23, 2022, 10:19am UTC](https://community.mp3tag.de/t/filter-on-character/59170/4 "2022-11-23T10:19:33Z")

</div>

Thanks for the answer, I want to search for TITLE with a certain number of " characters

---

<div class="post-metadata">

### Author: ![svenhol](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/e95f7d/32.png) [@svenhol](https://community.mp3tag.de/u/svenhol)
#### Post date: [November 23, 2022, 10:21am UTC](https://community.mp3tag.de/t/filter-on-character/59170/5 "2022-11-23T10:21:48Z")

</div>

If t is not possible to filter by strings containing double quotations marks. Then maybe I can replace the " character with something else and then do the filter?

---

<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: [November 23, 2022, 10:24am UTC](https://community.mp3tag.de/t/filter-on-character/59170/6 "2022-11-23T10:24:32Z")

</div>

As you see there is a workaround.  
`"$ifgreater($strstr(%title%,$char(34)),0,yes,no)" IS yes`  
Still, it is not possible to filter for the quotation marks inside a string.  
Which means that you can filter only for the presence of quotation marks.

You could replace them with 2 apostrophes "-\>''

---

<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: [December 23, 2022, 10:24am UTC](https://community.mp3tag.de/t/filter-on-character/59170/7 "2022-12-23T10:24:44Z")

</div>

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