title: replace a word that start with “A” ,contains one or more "B" and end with C
body: <p>I want to write a regex to replace</p>
  
  <pre><code>AAA XXX BBB XXX CCC
  </code></pre>
  
  <p>with</p>
  
  <pre><code>AAACCC
  </code></pre>
  
  <p>XXX can be any characters and must have one or more BBB between AAA and BBB,how to do?</p>
  
  <p>Example：</p>
  
  <pre><code>before： AAA hello world BBB hello CCC
  after： AAACCC
  
  before： AAA hello world hello CCC
  after： AAA hello world hello CCC
  
  before： AAA hello BBB world BBB hello CCC
  after： AAACCC
  </code></pre>