title: Split string before each new letter in Javascript
body: <p>Let's say that I have the following code:</p>
  
  <pre><code>var string = "A111B222C333D444E555";
  var arr = string .match(/.{1,4}/g);
  </code></pre>
  
  <p>Which basically splits the string into an array every 4 characters and gives me the correct format:</p>
  
  <pre><code>0 =&gt; A111
  1 =&gt; B222
  3 =&gt; C333
  4 =&gt; D444
  5 =&gt; D555
  </code></pre>
  
  <p>The problem is that this code only works if every letter-number combination contains 4 characters. If the string is <code>A11B22C33D44E555</code>, the code would produce an incorrect format of</p>
  
  <pre><code>0 =&gt; A11B
  1 =&gt; 22C3
  3 =&gt; 3D44
  4 =&gt; E555
  </code></pre>
  
  <p>when the desired output format is actually:</p>
  
  <pre><code>0 =&gt; A11
  1 =&gt; B22
  3 =&gt; C33
  4 =&gt; D44
  5 =&gt; E55
  </code></pre>
  
  <p>Is it possible to split the string before every new letter without worrying how many numbers there are after each letter?</p>