In the Searching for an item in an array recipe, we searched for a specific name using the contains comparison operator. This way, we looked for a complete element, without wildcards or regex.
In this recipe, we will use wildcard and regex matching to find elements that match a pattern.
Build on the Accessing and manipulating array items recipe and look for individuals whose last names end with son. Perform this search using the like and the match comparison operators.