detect Hebrew letters in strings
java, string
Solution
Pattern p = Pattern.compile("\\p{InHebrew}");
Matcher m = p.matcher(input);
Problem
I am trying to write some code that changes files with hebrew letters in them to valid english names insted, but i am having problems understading how to detect those files, i built a filter for listfiles function. Also i have searched online and i couldn't find an answer but this one: How to tell if a string contains characters in Hebrew using PHP? but its not java, its php. any ideas?