title: How to replace character between two characters?
body: <p>I have strings "ABC DE", "ABC FE", "ABC RE".</p>
  
  <p>How to replace the characters between ABC and E using regex?</p>
  
  <p>Trying to do this with a regex and replace</p>
  
  <pre><code>str.replace((ABC )[^*](E), 'G');
  </code></pre>