title: Count the number of lines in textarea that are all numbers?
body: <p>I need to count the number of lines in a textarea via JQuery or plain old JS- but that's not the entire issue.</p>
  
  <p>I also need to cycle through each line and match each line (maybe with some regex) all entries that are numbers- with or without commas.
  I think I have a bit of regex that does the matching as required:</p>
  
  <pre><code>(?:^|\s)(\d*\.?\d+|\d{1,3}(?:,\d{3})*(?:\.\d+)?)(?!\S)
  </code></pre>
  
  <p>The hard part for me is running through each line of the textarea and validating (and returning a count) of all the valid lines.</p>
  
  <p>How would I go about doing this?</p>