I have a string like this: "سلام علیکم" which is a two word arabic phrase. I want to match first word with regular expression. If it was english I would test /^[a-zA-Z]*/
. how can I do it with arabic?
Asked
Active
Viewed 1,375 times
6

RobyJas
- 75
- 5