title: JavaScript Regex Global Match Groups
body: <p><strong>Update:</strong> This question is a near duplicate of <a href="https://stackoverflow.com/questions/432493/how-do-you-access-the-matched-groups-in-a-javascript-regex">this</a></p>
  
  <p>I'm sure the answer to my question is out there, but I couldn't find the words to express it succinctly. I am trying to do the following with JavaScript regex:</p>
  
  <pre><code>var input = "'Warehouse','Local Release','Local Release DA'";
  var regex = /'(.*?)'/g;
  
  console.log(input.match(regex));
  
  // Actual:
  // ["'Warehouse'", "'Local Release'", "'Local Release DA'"]
  
  // What I'm looking for (without the '):
  // ["Warehouse", "Local Release", "Local Release DA"]
  </code></pre>
  
  <p>Is there a clean way to do this with JavaScript regex? Obviously I could strip out the <code>'</code>s myself, but I'm looking for the correct way to caputre globally matched groupings with regex.</p>