title: Extract numbers from a string using javascript
body: <p>I'd like to extract the numbers from the following string via javascript/jquery:</p>
  
  <pre><code>"ch2sl4"
  </code></pre>
  
  <p>problem is that the string could also look like this:</p>
  
  <pre><code>"ch10sl4"
  </code></pre>
  
  <p>or this</p>
  
  <pre><code>"ch2sl10"
  </code></pre>
  
  <p>I'd like to store the 2 numbers in 2 variables.
  Is there any way to use <code>match</code> so it extracts the numbers before and after <code>"sl"</code>? Would <code>match</code> even be the correct function to do the extraction?</p>
  
  <p>Thx</p>