Searching for words in a string
<p>What's the best way to search a string in php and find a case insensitive match?</p>

<p>For example:</p>

<pre><code>$SearchString = "This is a test";
</code></pre>

<p>From this string, I want to find the word test, or TEST or Test.</p>

<p>Thanks!</p>

<p>EDIT</p>

<p>I should also mention that I want to search the string and if it contains any of the words in my blacklist array, stop processing it. So an exact match of "Test" is important, however, the case is not</p>
