Check a string for bad words?
<p>So I want check if a string contains any of these words: ban,bad,user,pass,stack,name,html</p>

<p>If it contains any of the words I need to echo the number of bad words</p>

<pre><code>str = 'Hello my name is user';
</code></pre>

<p>thanks</p>
