Template:Replace

From TibiaCraft
Revision as of 00:13, 5 October 2025 by Root (talk | contribs) (Created page with "{{#invoke:replace|replace}}<noinclude>{{documentation}}<!-- Put categories/interwikis on the documentation page --></noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Documentation[view] [edit] [history] [purge]
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___^^^ __ _ ______^
[view] [edit] [history] [purge]The above documentation is transcluded from Template:Replace/doc.