0

What is the range for Arabic-Indic Digits (Hindu–Arabic) numeral utf8 from 0 to 9 for the use in regular expressions:

enter image description here

to use in regex.

Waqleh
  • 9,741
  • 8
  • 65
  • 103
  • 2
    http://www.utf8-chartable.de/ – David Feb 12 '13 at 14:32
  • 3
    @WaleedAkleh, If you actually used that chart, you'd find the answer that Joey gave below: U+06F0-9. Rather than being called Hindu-Arabic Numerals, they're listed as Extendend Arabic-Indic Digits. – FrankieTheKneeMan Feb 12 '13 at 14:44
  • 1
    Every character that hasn’t a special meaning in regex, can be used to stand for itself. So, `[٠-٩]` will match the arabic-indic digits from `٠` to `٩` and `[۰-۹]` will match the extended arabic-indic digits from `۰` to `۹`. – Holger Nov 08 '21 at 16:08

2 Answers2

3

U+06F0–U+06F9. As can be easily seen when checking a Unicode code point chart or the Character Map.

Joey
  • 344,408
  • 85
  • 689
  • 683
0

finally I found the answer

for only numbers: \x{0660}-\x{0669}

for numbers and letters: \x{0600}-\x{06ff}

Unicode 4.0 / ISO 10646 Plane 0

thanks you all.

Waqleh
  • 9,741
  • 8
  • 65
  • 103