User:Bongolium500/evalregex: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(Created page with "<includeonly><!-- $1 = string, $2 = regex, $3 = replacement -->{{#vardefine:__replaced|{{#dplreplace:{{{1|}}}|{{{2|}}}|{{{3|}}}}}}}<!-- -->{{#ifeq:{{{1|}}}|{{#var:__replace...")
 
No edit summary
 
Line 3: Line 3:
-->{{#vardefine:__replaced|{{#dplreplace:{{{1|}}}|{{{2|}}}|{{{3|}}}}}}}<!--  
-->{{#vardefine:__replaced|{{#dplreplace:{{{1|}}}|{{{2|}}}|{{{3|}}}}}}}<!--  
-->{{#ifeq:{{{1|}}}|{{#var:__replaced}}|<!--fail-->{{{4|}}}|<!--matched-->{{#if:{{{3|}}}|{{#var:__replaced}}|{{#if:{{{3|x}}}|yes|{{#var:__replaced}}}}}}}}<!-- $3 may be empty string for replacement.
-->{{#ifeq:{{{1|}}}|{{#var:__replaced}}|<!--fail-->{{{4|}}}|<!--matched-->{{#if:{{{3|}}}|{{#var:__replaced}}|{{#if:{{{3|x}}}|yes|{{#var:__replaced}}}}}}}}<!-- $3 may be empty string for replacement.
--></includeonly><noinclude>{{doc}}</noinclude>
--></includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 15:49, 6 July 2021