title: How to split a string based of capital letters?
body: <p>I have a string I need to split based on capital letters,my code below</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>let s = 'OzievRQ7O37SB5qG3eLB';
  var res = s.split(/(?=[A-Z])/)
  console.log(res);</code></pre>
  </div>
  </div>
  </p>
  
  <p>But there is a twist,if the capital letters are contiguous I need the regex to "eat" until this sequence ends.In the example above it returns</p>
  
  <p>..R,Q7,O37,S,B5q,G3e,L,B</p>
  
  <p>And the result should be</p>
  
  <p>RQ7,O37,SB5q,G3e,LB</p>
  
  <p>Thoughts?Thanks.</p>