title: Javascript RegEx to replace white space between two specific expressions
body: <p>I'm trying to remove space character from a string <strong>only when</strong> it is bewteen a number and the <code>G</code> letter.</p>
  <p>Sample text: <code>XXX YYY AAA 16Gb 16 Gb 16 G 2 G ZZZ</code></p>
  <p>Target result: <code>XXX YYY AAA 16Gb 16Gb 16G 2G ZZZ</code></p>
  <p>What I have so far is:</p>
  <pre><code>'XXX YYY AAA 16Gb 16 Gb 16 G 2 G ZZZ'.replace(/\d+ gb?/ig, '?')
  </code></pre>