I need to use my Regular Expression Pattern and find all the array values that match the regex pattern. The PHP function preg_grep handles this beautifully. It accepts the Regex pattern and the array to search for as its parameters.
Read this post on ask.amoeba.co.in