What is the right regex to make sure an answer is exclusively Japanese Kana?
You can use the following regular expression pattern to ensure that an answer consists exclusively of Japanese Kana characters:

*^[\p{Script=Hiragana}\p{Script=Katakana}ー－]+$*


**Explanation**:

- ^ - Matches the start of the string.
- [\p{Script=Hiragana}\p{Script=Katakana}ー－] - Character class that allows matching of either Hiragana characters, Katakana characters, or the long vowel mark (ー) and its half-width counterpart (－).

- + - Allows one or more occurrences of the character class.
- $ - Matches the end of the string.

This regular expression pattern will only match strings that consist entirely of Hiragana characters, Katakana characters, or the long vowel mark. It will exclude any other characters such as Kanji, numbers, or Latin characters.
That's very helpful. Thanks.
You're welcome! I'm glad I could help. If you have any more questions, feel free to ask.