title: How to check if a string has more than one of a certain character in a row in Javascript
body: <p>I have a string that might have multiple commas in a row. I want to find every time it has more than one comma, I want it to be replaced with only one comma. How can I do this?</p>
  
  <p>Thanks</p>