Dplreplace: Difference between revisions

Content added Content deleted
No edit summary
(→‎Effect: replaced: tt> → code> (2))
Line 11: Line 11:
Replaces the given ''pattern'' within the ''text'' by ''replacement''.
Replaces the given ''pattern'' within the ''text'' by ''replacement''.


''pattern'' is a regular expression as defined by php <tt>preg_replace()</tt>.
''pattern'' is a regular expression as defined by php <code>preg_replace()</code>.


''replacement'' may contain references to matching parts.
''replacement'' may contain references to matching parts.