title: Text between two dollar signs JavaScript Regex
body: <p>I'm trying to use RegEx to select all strings between two dollar signs.</p>
  
  <pre><code>text = text.replace(/\$.*\$/g, "meow");
  </code></pre>
  
  <p>I'm trying to turn all text between two dollar signs into "meow" (placeholder).</p>
  
  <p><strong>EDIT:</strong>
  Original question changed because the solution was too localized, but the accepted answer is useful information.</p>