Supported Versions: PHP 5 >= 5.3.0, PHP 7, PHP 8
Perform a regular expression search and replace
<?php preg_filter(    string|array $pattern,    string|array $replacement,    string|array $subject,    int $limit = -1,    int &$count = null): string|array|null