title: Regexp: Removing commas from numbers in text
body: <p>I want to remove commas from numbers in a text, and I have the following:</p>
  
  <pre><code>/\d\u002c\d/
  </code></pre>
  
  <p>But this didnt work, and I'm not sure why (looking for a number, a comma, then a number). 
  Overall, I want to detect: (number) km, so that I'll convert it to meters. With the help of others, this is what I have for detecting a number (works on decimals):</p>
  
  <pre><code>/\b(\d+(?:\.\d+)?)+ *km/gi
  </code></pre>
  
  <p>Is it easier to modify the above or should I first remove the commas from all numbers?</p>
  
  <p>Many thanks in advance!</p>