# How to filter songs with japanese characters

**URL:** https://community.mp3tag.de/t/how-to-filter-songs-with-japanese-characters/63636
**Category:** Support
**Created:** [January 31, 2024, 9:36pm UTC](https://community.mp3tag.de/t/how-to-filter-songs-with-japanese-characters/63636 "2024-01-31T21:36:19Z")
**Posts on this page:** 18
**Page:** 1

<div class="post-metadata">

### Author: ![blazinho](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/e0b2c6/32.png) [@blazinho](https://community.mp3tag.de/u/blazinho)
#### Post date: [January 31, 2024, 9:36pm UTC](https://community.mp3tag.de/t/how-to-filter-songs-with-japanese-characters/63636/1 "2024-01-31T21:36:19Z")

</div>

I looked around and only found a post about guessing values, switching fields and all. Not what I want.  
I only want to filter songs that have japanese characters.

I tried using this `$regexp(%title%,'[\x00-\x7F]+',)` which selects non-ascii characters, but it didn't work in the filter bar.

---

<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: [January 31, 2024, 9:39pm UTC](https://community.mp3tag.de/t/how-to-filter-songs-with-japanese-characters/63636/2 "2024-01-31T21:39:56Z")

</div>

See e.g. here:

> [@Filtering Chinese or Japanese Characters?](https://community.mp3tag.de/t/filtering-chinese-or-japanese-characters/50090):
>
> Hi, is there any way to filter files which could contain Chinese or Japanese characters?

---

<div class="post-metadata">

### Author: ![blazinho](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/e0b2c6/32.png) [@blazinho](https://community.mp3tag.de/u/blazinho)
#### Post date: [January 31, 2024, 10:40pm UTC](https://community.mp3tag.de/t/how-to-filter-songs-with-japanese-characters/63636/3 "2024-01-31T22:40:27Z")

</div>

That's the post I tried, but it didn't help me at all

---

<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: [February 1, 2024, 7:00am UTC](https://community.mp3tag.de/t/how-to-filter-songs-with-japanese-characters/63636/4 "2024-02-01T07:00:57Z")

</div>

> [@blazinho](#):
>
> `$regexp(%title%,'[\x00-\x7F]+',)`

This would look like this as a filter:  
`%title% MATCHES "[\x00-\x7F]+"`

---

<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: [February 1, 2024, 7:23am UTC](https://community.mp3tag.de/t/how-to-filter-songs-with-japanese-characters/63636/5 "2024-02-01T07:23:17Z")

</div>

This Blog post shows you all the possible japanese characters:

> **[Regular Expressions for Japanese Text - Localizing Japan](https://www.localizingjapan.com/blog/2012/01/20/regular-expressions-for-japanese-text/)**

For documentation reasons:

### Hiragana

Unicode code points regex: [\x3041-\x3096]

ぁ あ ぃ い ぅ う ぇ え ぉ お か が き ぎ く ぐ け げ こ ご さ ざ し じ す ず せ ぜ そ ぞ た だ ち ぢ っ つ づ て で と ど な に ぬ ね の は ば ぱ ひ び ぴ ふ ぶ ぷ へ べ ぺ ほ ぼ ぽ ま み む め も ゃ や ゅ ゆ ょ よ ら り る れ ろ ゎ わ ゐ ゑ を ん ゔ ゕ ゖ ゙ ゚ ゛ ゜ ゝ ゞ ゟ

### Katakana (Full Width)

Unicode code points regex: [\x30A0-\x30FF]

゠ ァ ア ィ イ ゥ ウ ェ エ ォ オ カ ガ キ ギ ク グ ケ ゲ コ ゴ サ ザ シ ジ ス ズ セ ゼ ソ ゾ タ ダ チ ヂ ッ ツ ヅ テ デ ト ド ナ ニ ヌ ネ ノ ハ バ パ ヒ ビ ピ フ ブ プ ヘ ベ ペ ホ ボ ポ マ ミ ム メ モ ャ ヤ ュ ユ ョ ヨ ラ リ ル レ ロ ヮ ワ ヰ ヱ ヲ ン ヴ ヵ ヶ ヷ ヸ ヹ ヺ ・ ー ヽ ヾ ヿ

### Kanji

Unicode code points regex: [\x3400-\x4DB5\x4E00-\x9FCB\xF900-\xFA6A]

漢字 日本語 文字 言語 言葉 etc. Too many characters to list.

This regular expression will match all the kanji, including those used in Chinese.

### Kanji Radicals

Unicode code points regex: [\x2E80-\x2FD5]

⺀ ⺁ ⺂ ⺃ ⺄ ⺅ ⺆ ⺇ ⺈ ⺉ ⺊ ⺋ ⺌ ⺍ ⺎ ⺏ ⺐ ⺑ ⺒ ⺓ ⺔ ⺕ ⺖ ⺗ ⺘ ⺙ ⺚ ⺛ ⺜ ⺝ ⺞ ⺟ ⺠ ⺡ ⺢ ⺣ ⺤ ⺥ ⺦ ⺧ ⺨ ⺩ ⺪ ⺫ ⺬ ⺭ ⺮ ⺯ ⺰ ⺱ ⺲ ⺳ ⺴ ⺵ ⺶ ⺷ ⺸ ⺹ ⺺ ⺻ ⺼ ⺽ ⺾ ⺿ ⻀ ⻁ ⻂ ⻃ ⻄ ⻅ ⻆ ⻇ ⻈ ⻉ ⻊ ⻋ ⻌ ⻍ ⻎ ⻏ ⻐ ⻑ ⻒ ⻓ ⻔ ⻕ ⻖ ⻗ ⻘ ⻙ ⻚ ⻛ ⻜ ⻝ ⻞ ⻟ ⻠ ⻡ ⻢ ⻣ ⻤ ⻥ ⻦ ⻧ ⻨ ⻩ ⻪ ⻫ ⻬ ⻭ ⻮ ⻯ ⻰ ⻱ ⻲ ⻳  
⼀ ⼁ ⼂ ⼃ ⼄ ⼅ ⼆ ⼇ ⼈ ⼉ ⼊ ⼋ ⼌ ⼍ ⼎ ⼏ ⼐ ⼑ ⼒ ⼓ ⼔ ⼕ ⼖ ⼗ ⼘ ⼙ ⼚ ⼛ ⼜ ⼝ ⼞ ⼟ ⼠ ⼡ ⼢ ⼣ ⼤ ⼥ ⼦ ⼧ ⼨ ⼩ ⼪ ⼫ ⼬ ⼭ ⼮ ⼯ ⼰ ⼱ ⼲ ⼳ ⼴ ⼵ ⼶ ⼷ ⼸ ⼹ ⼺ ⼻ ⼼ ⼽ ⼾ ⼿ ⽀ ⽁ ⽂ ⽃ ⽄ ⽅ ⽆ ⽇ ⽈ ⽉ ⽊ ⽋ ⽌ ⽍ ⽎ ⽏ ⽐ ⽑ ⽒ ⽓ ⽔ ⽕ ⽖ ⽗ ⽘ ⽙ ⽚ ⽛ ⽜ ⽝ ⽞ ⽟ ⽠ ⽡ ⽢ ⽣ ⽤ ⽥ ⽦ ⽧ ⽨ ⽩ ⽪ ⽫ ⽬ ⽭ ⽮ ⽯ ⽰ ⽱ ⽲ ⽳ ⽴ ⽵ ⽶ ⽷ ⽸ ⽹ ⽺ ⽻ ⽼ ⽽ ⽾ ⽿ ⾀ ⾁ ⾂ ⾃ ⾄ ⾅ ⾆ ⾇ ⾈ ⾉ ⾊ ⾋ ⾌ ⾍ ⾎ ⾏ ⾐ ⾑ ⾒ ⾓ ⾔ ⾕ ⾖ ⾗ ⾘ ⾙ ⾚ ⾛ ⾜ ⾝ ⾞ ⾟ ⾠ ⾡ ⾢ ⾣ ⾤ ⾥ ⾦ ⾧ ⾨ ⾩ ⾪ ⾫ ⾬ ⾭ ⾮ ⾯ ⾰ ⾱ ⾲ ⾳ ⾴ ⾵ ⾶ ⾷ ⾸ ⾹ ⾺ ⾻ ⾼ ⾽ ⾾ ⾿ ⿀ ⿁ ⿂ ⿃ ⿄ ⿅ ⿆ ⿇ ⿈ ⿉ ⿊ ⿋ ⿌ ⿍ ⿎ ⿏ ⿐ ⿑ ⿒ ⿓ ⿔ ⿕

### Katakana and Punctuation (Half Width)

Unicode code points regex: [\xFF5F-\xFF9F]

｟ ｠ ｡ ｢ ｣ ､ ･ ｦ ｧ ｨ ｩ ｪ ｫ ｬ ｭ ｮ ｯ ｰ ｱ ｲ ｳ ｴ ｵ ｶ ｷ ｸ ｹ ｺ ｻ ｼ ｽ ｾ ｿ ﾀ ﾁ ﾂ ﾃ ﾄ ﾅ ﾆ ﾇ ﾈ ﾉ ﾊ ﾋ ﾌ ﾍ ﾎ ﾏ ﾐ ﾑ ﾒ ﾓ ﾔ ﾕ ﾖ ﾗ ﾘ ﾙ ﾚ ﾛ ﾜ ﾝ ﾞ

### Japanese Symbols and Punctuation

Unicode code points regex: [\x3000-\x303F]

、 。 〃 〄 々 〆 〇 〈 〉 《 》 「 」 『 』 【 】 〒 〓 〔 〕 〖 〗 〘 〙 〚 〛 〜 〝 〞 〟 〠 〡 〢 〣 〤 〥 〦 〧 〨 〩 〪 〫 〬 〭 〮 〯 〰 〱 〲 〳 〴 〵 〶 〷 〸 〹 〺 〻 〼 〽 〾 〿

### Miscellaneous Japanese Symbols and Characters

Unicode code points regex: [\x31F0-\x31FF\x3220-\x3243\x3280-\x337F]

ㇰ ㇱ ㇲ ㇳ ㇴ ㇵ ㇶ ㇷ ㇸ ㇹ ㇺ ㇻ ㇼ ㇽ ㇾ ㇿ  
㈠ ㈡ ㈢ ㈣ ㈤ ㈥ ㈦ ㈧ ㈨ ㈩ ㈪ ㈫ ㈬ ㈭ ㈮ ㈯ ㈰ ㈱ ㈲ ㈳ ㈴ ㈵ ㈶ ㈷ ㈸ ㈹ ㈺ ㈻ ㈼ ㈽ ㈾ ㈿ ㉀ ㉁ ㉂ ㉃  
㊀ ㊁ ㊂ ㊃ ㊄ ㊅ ㊆ ㊇ ㊈ ㊉ ㊊ ㊋ ㊌ ㊍ ㊎ ㊏ ㊐ ㊑ ㊒ ㊓ ㊔ ㊕ ㊖ ㊗ ㊘ ㊙ ㊚ ㊛ ㊜ ㊝ ㊞ ㊟ ㊠ ㊡ ㊢ ㊣ ㊤ ㊥ ㊦ ㊧ ㊨ ㊩ ㊪ ㊫ ㊬ ㊭ ㊮ ㊯ ㊰ ㊱ ㊲ ㊳ ㊴ ㊵ ㊶ ㊷ ㊸ ㊹ ㊺ ㊻ ㊼ ㊽ ㊾ ㊿  
㋀ ㋁ ㋂ ㋃ ㋄ ㋅ ㋆ ㋇ ㋈ ㋉ ㋊ ㋋ ㋐ ㋑ ㋒ ㋓ ㋔ ㋕ ㋖ ㋗ ㋘ ㋙ ㋚ ㋛ ㋜ ㋝ ㋞ ㋟ ㋠ ㋡ ㋢ ㋣ ㋤ ㋥ ㋦ ㋧ ㋨ ㋩ ㋪ ㋫ ㋬ ㋭ ㋮ ㋯ ㋰ ㋱ ㋲ ㋳ ㋴ ㋵ ㋶ ㋷ ㋸ ㋹ ㋺ ㋻ ㋼ ㋽ ㋾  
㌀ ㌁ ㌂ ㌃ ㌄ ㌅ ㌆ ㌇ ㌈ ㌉ ㌊ ㌋ ㌌ ㌍ ㌎ ㌏ ㌐ ㌑ ㌒ ㌓ ㌔ ㌕ ㌖ ㌗ ㌘ ㌙ ㌚ ㌛ ㌜ ㌝ ㌞ ㌟ ㌠ ㌡ ㌢ ㌣ ㌤ ㌥ ㌦ ㌧ ㌨ ㌩ ㌪ ㌫ ㌬ ㌭ ㌮ ㌯ ㌰ ㌱ ㌲ ㌳ ㌴ ㌵ ㌶ ㌷ ㌸ ㌹ ㌺ ㌻ ㌼ ㌽ ㌾ ㌿ ㍀ ㍁ ㍂ ㍃ ㍄ ㍅ ㍆ ㍇ ㍈ ㍉ ㍊ ㍋ ㍌ ㍍ ㍎ ㍏ ㍐ ㍑ ㍒ ㍓ ㍔ ㍕ ㍖ ㍗ ㍘ ㍙ ㍚ ㍛ ㍜ ㍝ ㍞ ㍟ ㍠ ㍡ ㍢ ㍣ ㍤ ㍥ ㍦ ㍧ ㍨ ㍩ ㍪ ㍫ ㍬ ㍭ ㍮ ㍯ ㍰ ㍱ ㍲ ㍳ ㍴ ㍵ ㍶ ㍻ ㍼ ㍽ ㍾ ㍿

If you like the official Unicode documentation charts more:

> **[Unicode 17.0 Character Code Charts](https://www.unicode.org/charts/)**

Search for "Katakana" or "[Hiragana](https://www.unicode.org/charts/PDF/U3040.pdf)" for example.

**Some small addition:**  
Please be aware that the unicode characters  
U+3040, U+3097 and U+3098  
are [NOT Hiragana characters](https://en.wikipedia.org/wiki/Hiragana#Unicode).

---

<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: [February 1, 2024, 7:53am UTC](https://community.mp3tag.de/t/how-to-filter-songs-with-japanese-characters/63636/6 "2024-02-01T07:53:06Z")

</div>

Just for the record:

> [@ohrenkino](#):
>
> %title% MATCHES "[\x00-\x7F]+"

This filter expression lists all tracks with NON-ASCII characters in the tag TITLE.  
Of course this includes the japanese characters as well.

But the range \x00-\x7F includes much more characters that just the japanese NON-ASCII characters. For example also the "[ASCII control characters](https://www.ascii-code.com/)".

---

<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: [February 1, 2024, 7:57am UTC](https://community.mp3tag.de/t/how-to-filter-songs-with-japanese-characters/63636/7 "2024-02-01T07:57:50Z")

</div>

> [@LyricsLover](#):
>
> example also the "[ASCII control characters](https://www.ascii-code.com/)".

If you want to leave them out:  
`%title% MATCHES "[\x20-\x7F]+"`

---

<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: [February 1, 2024, 8:05am UTC](https://community.mp3tag.de/t/how-to-filter-songs-with-japanese-characters/63636/8 "2024-02-01T08:05:36Z")

</div>

This becomes more tricky, if you only want to filter for japanese characters with the ranges listed above.  
(Or if you still want to see all the tracks with [Cyrillic](https://www.unicode.org/charts/PDF/U0400.pdf) characters or [Thai](https://www.unicode.org/charts/PDF/U0E00.pdf) characters or [Greek](https://www.unicode.org/charts/PDF/U0370.pdf) characters for example.)

---

<div class="post-metadata">

### Author: ![blazinho](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/e0b2c6/32.png) [@blazinho](https://community.mp3tag.de/u/blazinho)
#### Post date: [February 1, 2024, 8:49am UTC](https://community.mp3tag.de/t/how-to-filter-songs-with-japanese-characters/63636/9 "2024-02-01T08:49:43Z")

</div>

neither worked T-T it apparently only filters out 2 songs out of 3713, and it shows songs that don't have japanese characters

---

<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: [February 1, 2024, 8:50am UTC](https://community.mp3tag.de/t/how-to-filter-songs-with-japanese-characters/63636/10 "2024-02-01T08:50:56Z")

</div>

Could you please copy & paste one or two of such TITLE here?

Or maybe you can show a [screenshot](https://community.mp3tag.de/t/hints-for-asking-support-requests/56190#use-screenshots-to-exemplify-the-issue-2) of your list where you see more TITLE that should be filtered?

---

<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: [February 1, 2024, 8:51am UTC](https://community.mp3tag.de/t/how-to-filter-songs-with-japanese-characters/63636/11 "2024-02-01T08:51:20Z")

</div>

> [@blazinho](#):
>
> apparently only filters out 2 songs out of 3713

And do these 2 files contain Japanese characters?

---

<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: [February 1, 2024, 9:00am UTC](https://community.mp3tag.de/t/how-to-filter-songs-with-japanese-characters/63636/12 "2024-02-01T09:00:53Z")

</div>

> [@blazinho](#):
>
> it apparently only filters out 2 songs out of 3713

What if you try this syntax:  
`TITLE MATCHES [\x{3041}-\x{3096}]`  
or  
`TITLE MATCHES [\x{3041}-\x{3096}|\x{30A0}-\x{30FF}]`

---

<div class="post-metadata">

### Author: ![blazinho](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/e0b2c6/32.png) [@blazinho](https://community.mp3tag.de/u/blazinho)
#### Post date: [February 1, 2024, 9:03am UTC](https://community.mp3tag.de/t/how-to-filter-songs-with-japanese-characters/63636/13 "2024-02-01T09:03:40Z")

</div>

![Screenshot_3](https://community.mp3tag.de/uploads/default/original/3X/8/7/870537f9a593e6a6476b70a00f3bffe19bf67d39.png)

---

<div class="post-metadata">

### Author: ![blazinho](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/e0b2c6/32.png) [@blazinho](https://community.mp3tag.de/u/blazinho)
#### Post date: [February 1, 2024, 9:04am UTC](https://community.mp3tag.de/t/how-to-filter-songs-with-japanese-characters/63636/14 "2024-02-01T09:04:37Z")

</div>

> [@LyricsLover](#):
>
> `TITLE MATCHES [\x{3041}-\x{3096}|\x{30A0}-\x{30FF}]`

ooh, that worked!! thanks guys!!!

---

<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: [February 1, 2024, 9:05am UTC](https://community.mp3tag.de/t/how-to-filter-songs-with-japanese-characters/63636/15 "2024-02-01T09:05:35Z")

</div>

Please have a look at [the ranges above](https://community.mp3tag.de/t/how-to-filter-songs-with-japanese-characters/63636/5). There could be even more japanese characters! 😉

---

<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: [February 1, 2024, 9:13am UTC](https://community.mp3tag.de/t/how-to-filter-songs-with-japanese-characters/63636/16 "2024-02-01T09:13:41Z")

</div>

> [@blazinho](#):
>
> that worked!!

This should be the complete set of filters for japanese characters in the tag TITLE:  
`TITLE MATCHES [\x{3041}-\x{3096}|\x{30A0}-\x{30FF}] OR TITLE MATCHES [\x{3400}-\x{4DB5}|\x{4E00}-\x{9FCB}|\x{F900}-\x{FA6A}] OR TITLE MATCHES [\x{2E80}-\x{2FD5}] OR TITLE MATCHES [\x{FF5F}-\x{FF9F}] OR TITLE MATCHES [\x{3000}-\x{303F}] OR TITLE MATCHES [\x{31F0}-\x{31FF}|\x{3220}-\x{3243}|\x{3280}-\x{337F}]`

---

<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: [February 1, 2024, 10:15am UTC](https://community.mp3tag.de/t/how-to-filter-songs-with-japanese-characters/63636/17 "2024-02-01T10:15:02Z")

</div>

3 posts were split to a new topic: [How could I remove the text with parentheses?](https://community.mp3tag.de/t/how-could-i-remove-the-text-with-parentheses/63646)

---

<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: [March 2, 2024, 10:15am UTC](https://community.mp3tag.de/t/how-to-filter-songs-with-japanese-characters/63636/18 "2024-03-02T10:15:29Z")

</div>

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