So I need to filter a string for each word from an array, I'll use cat for my example. The logic I came to try was one where I check to see if the string contained cat. Code (Text): The cat jumped over the wall. In this case, it should match cat. However, I also need to ignore the match and find all others when a certain excluded word containing the search word was found. For instance, cattle or catastrophic. The problem I have found is that a string containing the search word and an excluded word, such as: Code (Text): The cattle jumped over the wall to chase the cat. Would think that the string doesn't contain the search word cat, when it indeed does.