Template:String:RegexReplace syntax: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
Line 1: | Line 1: | ||
<!-- This page was automatically generated and will be automatically | <!-- This page was automatically generated and will be automatically | ||
replaced, so any manual edits will be lost. You've been warned. --> | replaced, so any manual edits will be lost. You've been warned. --> | ||
<p class="syntax"><span class="term">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:RegexReplace</span><span class="literal">(</span> <span class="term" title="String"> | <p class="syntax"><span class="term">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:RegexReplace</span><span class="literal">(</span> <span class="term" title="String">regex</span><span class="comma">,</span> <span class="term" title="String">replacement</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="String">Options=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="literal">)</span></p> |
Revision as of 23:00, 2 February 2011
%outString = string:RegexReplace( regex, replacement, [Options= string])