title: Regex for matching a character, but not when it's enclosed in quotes
body: <p>I need to match a colon (':') in a string, but not when it's enclosed by quotes - either a &quot; or ' character.</p>
  <p>So the following should have 2 matches</p>
  <pre><code>something:'firstValue':'secondValue'
  something:&quot;firstValue&quot;:'secondValue'
  </code></pre>
  <p>but this should only have 1 match</p>
  <pre><code>something:'no:match'
  </code></pre>