title: regular expression to match a string as a two dimensional array of integers
body: <p>I am looking for a regex to recognize strings that could be a two dimensional array of integers that has columns with same length.</p>
  
  <p>for example this is a string that I want to convert it to a two dimensional array:</p>
  
  <p><code>0 4 8 4\n9 6 5 7\n9 5 5 1</code> </p>
  
  <p>which could be :</p>
  
  <pre><code>0 4 8 4
  9 6 5 7
  9 5 5 1
  </code></pre>
  
  <p>So I came up with this:<code>"(([0-9]+[ \t]?)+(\n|\r)?){1,}"</code> however it does not check if columns have the same length.
  thank you for your help.</p>