How to filter words in Java?
<p>I want to check if there are 'bad' words in some cases such as checking IDs in register form. But I do not know how to check it.. The bottom code is what I got far with it.</p>

<pre><code>String words = "admin,administrator,babo,sir,melon";

public boolean checkWord(String input) {
   if(something here that i need to find??) return false;
   else return true;
}
</code></pre>

<p>The pattern of words are divided in comma, and I really need help with it please!</p>
