title: javascript - get two numbers from a string
body: <p>I have a string like:</p>
  
  <pre><code>text-345-3535
  </code></pre>
  
  <p>The numbers can change.
  How can I get the two numbers from it and store that into two variables?</p>