How to chech Bosnian-specific characters in RegEx?
问题 I have this Regular Expression pattern, which is quite simple and it validates if the provided string is "alpha" (both uppercase and lowercase): var pattern = /^[a-zA-Z]+$/gi; When I trigger pattern.test('Zlatan Omerovic') it returns true , however if I: pattern.test('Zlatan Omerović'); It returns false and it fails my validation. In Bosnian language we have these specific characters: š đ č ć ž And uppercased: Š Đ Č Ć Ž Is it possible to validate these characters (both cases) with JavaScript