preg_filter() is identical to preg_replace() except it only returns the matches. For details about how this function works, read the preg_replace() documentation.

declaration of preg_filter

mixed preg_filter ( mixed $pattern , mixed $replacement , mixed $subject [, int $limit ] [, int &$count ] )

test preg_filter online

share preg_filter

comments for preg_filter

be the first

No comments so far for preg_filter(). Leave yours as first below.


Leave your comment