title: How to get text between underscore and dot in javascript
body: <p>If I have a string like below:</p>
  
  <pre><code>1603202_15.jpg
  </code></pre>
  
  <p>I want to extract the text between the <code>_</code> and the <code>.</code>. Note that the string can have an arbitrary number of underscores in it, but there will only be one dot in it.</p>