How to check if any Arabic character exists in the string ( javascript )

后端 未结 5 1726
南方客
南方客 2020-12-05 01:03

How to check if any Arabic character exists in the string with javascript language

5条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-05 01:27

    Ranges for Arabic characters are:

    0x600  - 0x6ff
    
    0x750  - 0x77f
    
    0xfb50 - 0xfc3f
    
    0xfe70 - 0xfefc
    

提交回复
热议问题