title: Match strings with regular expression in ignore case
body: <p>I need to match strings in my array which are not starting with "KB" string.
  I have tried this</p>
  
  <pre><code>String[] ar = {"KB_aaa","KB_BBB", "K_CCC", "!KBD", "kb_EEE", "FFFF"};
  Pattern p = Pattern.compile("[^(^KB)].*");
  
  for(String str : ar)
  {
      Matcher m = p.matcher(str);
      if(m.matches())
           System.out.println(str);
  }
  </code></pre>
  
  <p>But it still not matches "K_CCC".
  Thanks</p>