<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pool.calebcooper.ie/index.php?action=history&amp;feed=atom&amp;title=Template%3AMultiReplace%2Fdoc</id>
	<title>Template:MultiReplace/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://pool.calebcooper.ie/index.php?action=history&amp;feed=atom&amp;title=Template%3AMultiReplace%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:MultiReplace/doc&amp;action=history"/>
	<updated>2026-06-06T22:59:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://pool.calebcooper.ie/index.php?title=Template:MultiReplace/doc&amp;diff=12182&amp;oldid=prev</id>
		<title>Caleb Cooper at 17:19, 18 October 2020</title>
		<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:MultiReplace/doc&amp;diff=12182&amp;oldid=prev"/>
		<updated>2020-10-18T17:19:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{high-use}}&lt;br /&gt;
{{lua|Module:MultiReplace}}&lt;br /&gt;
{{Commons Import}}&lt;br /&gt;
Replaces matches of multiple patterns in a given string with given replacements. For each replacement instance, the pattern matching at the lowest position is chosen. If there are multiple such patterns, then the one specified earliest in the pattern list is chosen.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
 {{tlp | 1=MultiReplace | 2=&amp;#039;&amp;#039;input&amp;#039;&amp;#039; | 3=plain=yes &amp;#039;&amp;#039;(optional)&amp;#039;&amp;#039; | 4=&amp;#039;&amp;#039;pattern1&amp;#039;&amp;#039; | 5=&amp;#039;&amp;#039;replacement1&amp;#039;&amp;#039; | 6=&amp;#039;&amp;#039;pattern2&amp;#039;&amp;#039; | 7=&amp;#039;&amp;#039;replacement2&amp;#039;&amp;#039;... }}&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;code&amp;gt;plain=yes&amp;lt;/code&amp;gt; is specified, then the patterns and replacements are treated as plain text, otherwise as [[mw:Extension:Scribunto/Lua reference manual#mw.ustring.gsub|Lua Unicode patterns]].&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
[[Category:String manipulation templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Caleb Cooper</name></author>
	</entry>
</feed>