dimanche 19 avril 2015

Regular Expression Arabic characters and numbers only

I want Regular Expression to accept only Arabic characters and numbers.


Numbers are not required to be in Arabic.


I found the following expression:



^[\u0621-\u064A]+$


which accepts only only Arabic characters while I need both Arabic characters and numbers.


Aucun commentaire:

Enregistrer un commentaire