title: regular expression in java search
body: <p>How can I with <code>regex</code> find string "executeQuery" but not if whole string has "vo" or "Viewobject".</p>
  
  <p>Examples:</p>
  
  <pre><code>ResultSet rs = ps.executeQuery(); --&gt; CORRECT
  super.executeQueryForCollection(object, object1, i); --&gt; CORRECT
  voOEPoDEStruktura.executeQuery(); --&gt; WRONG
  ViewObject.executeQuery(); --&gt; WRONG
  </code></pre>