Efficient search of foul words