jQuery - wrapping a comma in a <span>?
<p>I am using the following jQuery to wrap each letter in my element in a span:</p>

<pre><code>$('.num .stat').children().andSelf().contents().each(function() {
  if(this.nodeType == 3) {
    var $this = $(this);
    $this.replaceWith($this.text().replace(/(\w)/g, '&lt;span class="s-$&amp;"&gt;$&amp;&lt;/span&gt;'));
  }    
});
</code></pre>

<p>I will be wrapping numbers using this. The problem I'm having is that when there is a comma in my number (e.g. 23,000) the comma is not getting wrapped.</p>

<p>Any idea how I can get the comma's wrapped in a <code>&lt;span&gt;</code> also?</p>

<p>Thanks!</p>
