title: Python regex - Replace single quotes and brackets
body: <p>I'd like to replace quantities with name then a square bracket and a single quote with the contents inside. So, from this: </p>
  
  <p><code>RSQ(name['BAKD DK'], name['A DKJ'])</code></p>
  
  <p>to this:</p>
  
  <p><code>RSQ(BAKD DK, A DKJ)</code></p>