title: Get the first integers in a string with JavaScript
body: <p>I have a string in a loop and for every loop, it is filled with texts the looks like this:</p>
  
  <pre><code>"123 hello everybody 4"
  "4567 stuff is fun 67"
  "12368 more stuff"
  </code></pre>
  
  <p>I only want to retrieve the first numbers up to the text in the string and I, of course, do not know the length.</p>
  
  <p>Thanks in advance!</p>