title: Regular Expression for changing other languages' numbers to English numbers
body: <p>I want to check if a number is Arabic , and replace all it's digits to English so that I can do calculation on it . I'm trying this Function , but I don't know what regular expression is suitable for it : </p>
  
  <pre><code>function enNumber(num)
  {
  for (var i=0;i&lt;10;i++)
  num=num.replace(*[regular expression]*,i);
  return num;}
  </code></pre>