title: Java regex. Match any "value" that is no preceded by given string
body: <p>I need some help with a <strong>Java regexp</strong>.
  I'm working with a file that has <strong>JSON</strong> similar format:</p>
  
  <pre><code>['zul.wgt.Label','f6DQof',{sclass:'class',style:'font-weight: bold;',prolog:' ',value:'xxxx'},{},[]], 
  ['zul.wgt.Label','f6DQpf',{sclass:'class notranslate',style:'font-weight: bold;',prolog:' ',value:'xxxx'},
  ['zul.wgt.Label','f6DQof',{sclass:'class',style:'font-weight: bold;',prolog:' ',label:'xxxx'},{},[]]
  ['zul.wgt.Label','f6DQof',{sclass:'class',style:'font-weight: bold;',prolog:' ',label:'xxxx'},{},[]]
  </code></pre>
  
  <p>I need to match any <code>label</code> or <code>value</code> data that is not preceded by a "<strong>notranslate</strong>" value on the <code>sclass</code> property.</p>
  
  <p>I've been working on an almost working <strong>Regexp</strong> but I need the final push to match only what I've previously wrote</p>
  
  <pre><code>((?!.*?notranslate)sclass:'[\w\s]+'.*?)((value|label):'(.*?)')
  </code></pre>
  
  <p>Right now it matches anything from <code>sclass</code> that it's not followed by <code>'notranslate'</code></p>
  
  <p>Thanks for your help</p>