title: Splitting in ruby from file
body: <p>While reading from a file I need to be able to chunk it into smaller pieces.  </p>
  
  <p>Basically the file looks like this:</p>
  
  <pre><code>6057493131
      Test 1
      Test 2
      Test 3
  6057493132
      Test 1
      Test 2
      Test 3
  6057493133
      Test 1
      Test 2
      Test 3
  6057493134
      Test 1
      Test 2
      Test 3
  </code></pre>
  
  <p>I need it to split everytime a new numberseries is beginning.<br>
  I've use this code:</p>
  
  <pre><code>f = File.open("test.txt")  
       fread = f.read  
       chunk = fread.split(/^[0-9]/)  
  puts chunk[0...3]
  </code></pre>
  
  <p>It works but frustrating enough the first number is missing. ex. "6057493132" becomes "057493132"
  How do I get all the numbers, or any better idea on howto do it?</p>