title: How to split the substring without empty cells?
body: <p>Example:</p>
  
  <p><code>"div#qwe.%class-first.class-two".split(/([#\.%])/)</code></p>
  
  <p><code>["div", "#", "qwe", ".", "", "%", "class-first", ".", "class-two"]</code></p>
  
  <p>Cell 4 is empty. How do I get rid of this by using regex?</p>
  
  <hr>
  
  <p><strong>UPD #1</strong> I thought that <code>match</code> is slow, but it is not. My small test:</p>
  
  <pre><code>Match: 5
  Filter: 15
  Split: 11
  Big match: 3092
  Big filter: 7115
  Big split: 2925
  </code></pre>