preg_grep() returns the array consisting of the elements of the input array that match the given pattern.
preg_grep() returns the array consisting of the elements of the input array that match the given pattern.