I ask this question / answer further
How to check if php string contains only english letters and numbers?
but it skips checking for special characters, can we do this?
My goal is to find out if the string has Arabic characters, but it can be tricky ... (if not please tell).
Alternatively, we can check if it has all the English characters, otherwise it is obvious that it will be Arabic, since I have only these two languages ...
user689751
source
share