title: Regular Expression to match text outside quotes etc
body: <pre><code>"([\"'])(?:\\\\?+.)*?\\1"
  </code></pre>
  
  <p>I came up to this regexp to match all quoted strings..
  It seems to work great...
  The problem is how to match the text that isnt inside quotes..
  The inverse -negative somehow...</p>
  
  <p>I read the documentation and </p>
  
  <pre><code>(?!(([\"'])(?:\\\\?+.)*?\\1))
  </code></pre>
  
  <p>doesnt work</p>