title: Using wildcards in gsub
body: <p>I would like to do something like this:</p>
  
  <pre><code>"String with text and $abc$ and $def$ and so on... ".gsub("$*$", "replaceText")
  </code></pre>
  
  <p>which results in</p>
  
  <pre><code>"String with text and replaceText and replaceText and so on... "
  </code></pre>
  
  <p>But I have no idea how wildcards like <code>*</code> work here.</p>