preg_grep

preg_grep -- Return array entries that match the pattern

Description

array preg_grep ( string pattern, array input)

Voorbeeld 1 . preg_grep( ) example