Function

preg_replace

Synopsis

preg_replace(mixed, mixed, mixed, mixed ...): mixed

Area
Runtime\PS\Compat\preg_replaceareas

Description

preg_replace replaces every match of $pattern in $subject with $replacement, in which \1 and $1 both name a capture group.

Usage

$value = preg_replace($arguments);
$fn = preg_replace(...);

See also