title: Retrieve substring between two characters
body: <p>I have string like this </p>
  
  <pre><code>  var str = "#it
                itA
                itB
                _
               #et
                etA
                etB
               _
               etC
               etD"
  </code></pre>
  
  <p>How can I retrieve elements between # and _. As of now I am splitting the text with new line but unable to workout this. Please help me on this. Please use this fiddle <a href="http://jsfiddle.net/h728C/2/" rel="noreferrer">http://jsfiddle.net/h728C/2/</a></p>