title: How do I do a RegExp replace inside a jQuery template?
body: <p>Suppose I have</p>
  
  <pre><code>{ price: '$ 9.99 USD' }
  </code></pre>
  
  <p>and in my jQuery template I want to do this</p>
  
  <pre><code>{{html String(price).replace(/([^A-Z ]+)/gi, '&lt;em&gt;$1&lt;/em&gt;')}}
  </code></pre>
  
  <p>Check out this fiddle and notice the change in output that adding/removing the <code>$1</code> makes: <a href="http://jsfiddle.net/brettwp/KNAtz/" rel="nofollow">http://jsfiddle.net/brettwp/KNAtz/</a></p>