I want to write a regular expression that matches each word in a sentence:
My regular expression:”\b(\w+)\b“
Result:

While it works well with English Words. It does not work when using Arabic words.
How could I accomplish the same feat for Arabic words?
Try this:-
Arabic character set of list
Arabic script in Unicode:
As of Unicode 6.1, the Arabic script is contained in the following blocks:
Contents are taken from wikipedia – Arabic script in Unicode