title: SQL How to extract numbers from a string?
body: <p>I am working on a query in SQL that should be able to extract numbers on different/random lenght from the beginning of the text string.</p>
  
  <p>Text string: 666 devils number is not 8888.<br>
  Text string: 12345 devils number is my PIN, that is 6666.</p>
  
  <p>I want to get in a column</p>
  
  <pre><code>666
  12345
  </code></pre>