title: Extract regex internal values in Java
body: <p>Given this text:</p>
  <pre><code>$F{abc} and $F{def}
  </code></pre>
  <p>I need to get</p>
  <pre><code>abc and def
  </code></pre>
  <p>For that, I would use this regex to find the values <code>\$F\{\w*\}</code> but I need to get what's represented by <code>w*</code>:</p>
  <pre><code>str.replaceAll(&quot;\\$F\{\\w*\\}&quot;, &quot;??&quot; );
  </code></pre>
  <p>Is this doable with a Java function or I need to write the routine?</p>