Albatta! Mana qanday qilib JavaScript-da regexdan foydalanib, ma'lum bir kirish faqat yapon Kana ekanligini tasdiqlashingiz mumkinligi haqidagi misol: ```js funktsiyasi validateJapaneseKana(input) { const regex = /^[\u3040-\u309F\u30A0-\u30FF]*$/; return regex.test(input); } // Misol foydalanish: input const1 = "あいうえお"; // Valid yapon Kana input const2 = "カタカナ"; // Valid yapon Kana input const3 = "あいうえおカタカナ"; // Valid yapon Kana input const4 = "あいうお123"; // Invalid (non-Kana belgilari mavjud) Kana console.logvalidate(Japanese(Kanainput1)); // Output: true console.log validateJapaneseKana
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence