Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
This is the documentation page. It should be transcluded into Template:Replace. See Template:Documentation for more information.
This template uses Module:Replace, a script written in Lua.

Performs multiple text replacement on a string. Replacer term is pseudo-regex.

Examples

This... is a string!
{{replace|This... is a string!| is = was | string = template parameter | . = ! }}
Thwas... was a template parameter?
{{replace|This... is a string! | [A-Z] = X | [a-z] = _ | [!.] = ^ }}
X___^^^ __ _ ______^




Contents