Changed strpos to preg match to find only whole words