title: How do I get each comma-separated tokens inside parenthesis
body: <p>How do I achieve the following result using regular expressions?</p>
  
  <pre><code>"(apple, banana, _orange)" # =&gt; ['apple', 'banana', '_orange']
  "apple, banana, _orange"   # =&gt; []
  "(apple)"                  # =&gt; ['apple']
  "()"                       # =&gt; []
  "(apple,sauce)"            # =&gt; ['apple', 'sauce']
  </code></pre>
  
  <p>This is what I have so far but I am only able to capture the last token:</p>
  
  <pre><code>\|(?:(?:,\s)?(\w+))*\|
  </code></pre>