Is there a way to check if text is in cyrillics or latin using C#?
Use a Regex and check for \p{IsCyrillic}, for example: if (Regex.IsMatch(stringToCheck, @”\p{IsCyrillic}”)) { // there is at least one cyrillic character in the string } This would be true for the string “abcабв” because it contains at least one cyrillic character. If you want it to be false if there are non cyrillic characters in … Read more