title: Need regex to separate comma separated values (Interface list from a router query output)
body: <p>I have an input like this </p>
  
  <p><code>RX Only            : Gi1/0/15,Gi1/0/20,Gi1/0/17</code></p>
  
  <p>I want to capture <code>1/0/15</code>, <code>1/0/20</code>, <code>1/0/17</code> from this. But this input changes. Sometimes there are only 2 comma separated values, sometimes 1 sometimes more than 3.</p>
  
  <p>The regex I came up with only captures the first group. If I use the non-greedy operator, then it captures last. What regex should I use to capture all these groups separately.</p>
  
  <p>The language used would be Java.</p>