title: Ruby regex to match substrings between character patterns and newlines
body: <p>I have data that's formatted this way, as a single string:</p>
  
  <pre><code>"1. Enloe Medical Center - 2,000 
  2. CSU Chico - 1,805 
  3. Walmart Distribution Center - 1,350 
  4. Pacific Coast Producers (Agribusiness) - 1,200 
  5. Marysville School District - 1,000 
  6. Feather River Hospital - 865 
  7. Sunsweet Growers (Agriculture) - 600 
  8. YRC (Freight Services) - 500 
  9. Sierra Pacific Industries (Lumber Products) - 500 
  10. Colusa Casino Resort - 500"
  </code></pre>
  
  <p>In a Ruby app, I'd like to create two arrays: one of the substrings between each numbered list marker and the dash, and one of the substrings containing the numbers between the dash and the newlines (as integers), like so:</p>
  
  <pre><code>labels = ["Enloe Medical Center","CSU Chico","Walmart Distribution Center","Pacific Coast Producers (Agribusiness)","Marysville School District","Feather River Hospital","Sunsweet Growers (Agriculture)","YRC (Freight Services)","Sierra Pacific Industries (Lumber Products)","Colusa Casino Resort"]
  
  numbers = [2000, 1805, 1350, 1200, 1000, 865, 600, 500, 500, 500]
  </code></pre>
  
  <p>I'm not so great with my regexes; I know how to do substitutions and matching, but I'm not sure where to start with this. Can anyone help?</p>