title: Replace anything within two brackets
body: <p>I have this string:</p>
  
  <pre><code>String string = "The status is %status(" + randomString + ")%";
  </code></pre>
  
  <p>How can I replace the part between percent signs with anything, but without knowing randomString?</p>