title: Is there any way to get numbers separated by comma?
body: <p>I have </p>
  
  <pre><code>line = "abcde:abc/abcd=(12, 20)"
  </code></pre>
  
  <p>and I want to get <code>12</code> and <code>20</code> in an array. My solution is:</p>
  
  <pre><code>array_line = line[/\(.*?\)/].delete('()').delete(' ').split(",")
  </code></pre>
  
  <p>Is there any better way to solve it using ruby?</p>