title: Extract number from string JavaScript
body: <p>Does anyone know a way to extract numbers from a string in JavaScript?</p>
  <p><strong>Example:</strong></p>
  <pre><code>1 banana + 1 pineapple + 3 oranges
  </code></pre>
  <p>My intent is to have the result in an array or JSON or something else.</p>
  <p><strong>Result:</strong></p>
  <pre><code>[1,1,3]
  </code></pre>