title: Java String.split with varied character format
body: <p>I have strings of the following format</p>
  
  <p><code>(1, 3, value)</code></p>
  
  <p>I want to split this string using String.split so that I can get the three values without the delemeters. I want the output to look like</p>
  
  <pre><code>1
  3
  value
  </code></pre>
  
  <p>The problem is that the value sometimes contains delimeter values itself, such as the string <code>revolution_(1848)</code></p>
  
  <p>How can I do this with String.split(), so that I can split the words based on commas and inside the brackets, so I get only the three values. </p>
  
  <p>Thanks.</p>