How To Count Banned Words On Page?

if (strpos($article, "banned_words_1") == true) {
if (strpos($article, "banned_words_2") == true) {
if (preg_match('/banned_words_1/',$article))
if (preg_match('/banned_words_2/',$article))

You see any issues in these lines of code?