preg_grep

preg_grep -- Return array entries that match the pattern

Description

array preg_grep ( string pattern, array input)

דוגמה 1 . preg_grep( ) example