$pattern
, mixed $replacement
, mixed $subject
[, int $limit
= -1
[, int &$count
]] )
preg_filter() is identical to preg_replace() except it only returns the (possibly transformed) subjects where there was a match. For details about how this function works, read the preg_replace() documentation.