title: java (jdk 1.6) regular expression
body: <p>I want to check whether any special character exist in given string.
  I tried following pattern but didn't worked. So it will be helpful if any valid answers.</p>
  
  <pre><code>Pattern p = Pattern.compile("[\\*&amp;]");
  Matcher m = p.matcher("a*a&amp;a");
  boolean b = m.matches();
  
  if (b) {
      System.out.println("Found");
  } else {
      System.out.println("Not Found");
  }
  </code></pre>
  
  <p>Its working in javascript. ie [\*&amp;]. </p>