title: Spliting string twice with 2 separators in javascript
body: <p>Let's say I need to split the string <code>a.b.c.d#.e.f.g.h#.i.j.k.l</code> with separator as # and then ".".</p>
  
  <pre><code>str = a.b.c.d#.e.f.g.h#.i.j.k.l
  
  res = str.split("#")
  </code></pre>
  
  <p><code>res[0]</code> will store <code>a.b.c.d</code> when I use split for the 1st time .<br>
  I need to split this again and save the data. </p>
  
  <p>can anyone help ?</p>