how to select a dynamic string from a sentence
<p>How can I select the first number from these example sentences</p>

<pre><code>"  1     SAMPLE SAMPLE 1"
"  20     SAMPLE SAMPLE 2"
</code></pre>

<p>I want to isolate the first number from those lines.</p>

<p>I tried a few string functions that come with javascript but can't seem to make them work. I don't want the spaces, I need the number only.</p>
