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?
To test that the String str contains Hebrew letters use:
str.matches (".*[א-ת]+.*")
returns true if str contains Hebrew letters.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With