Sorry, I couldn't find the answer to this, but I'm using str_contains to find matches of a str within another str.
str_contains($haystack, $needle);
However, is there a way to have multiple needles or do I need to use this function several times?