static public regexp_replace ( $pattern, $replacement, $subject, $limit ) : mixed | ||
$pattern | string Regular expression | |
$replacement | string String to replace matches in $subject with | |
$subject | string String to apply regular expression to | |
$limit | int Number of replacements to perform, maximum, or -1 for no limit. | |
return | mixed |