title: Regular expression to match strings enclosed in square brackets or double quotes
body: <p>I need 2 simple reg exps that will:</p>
  
  <ol>
  <li>Match if a string is contained within square brackets (<code>[]</code> e.g <code>[word]</code>)</li>
  <li>Match if string is contained within double quotes (<code>""</code> e.g <code>"word"</code>)</li>
  </ol>