Kirby Wiki
mNo edit summary
(→‎Reference: category reorganization)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
<source lang="xml">
 
<source lang="xml">
<Typo word="Kirby's Dream Land 1/2/3" find="(?:''|)(\[\[)?[Kk]irby:?(?:'s)s? [Dd]ream\s?[Ll]and(\s2|\s3|)(\]\])?(?:''|)" replace="$1Kirby's Dream Land$2$3" />
+
<Typo word="" find="" replace="" />
<Typo word="Kirby & the Amazing Mirror" find="\b[Kk]irby:?(?:'s)s? (and|&) [Tt]he [Aa]mazing [Mm]irror\b" replace="Kirby & the Amazing Mirror" />
 
 
</source>
 
</source>
 
<noinclude>
 
<noinclude>
Line 17: Line 16:
   
 
Basic construct (copy and paste):
 
Basic construct (copy and paste):
<pre>
 
<Typo word="" find="" replace="" />
 
</pre>
 
   
 
==Reference==
 
==Reference==
Line 27: Line 23:
 
*[[wikipedia:Wikipedia:AutoWikiBrowser/Regular_expression]]
 
*[[wikipedia:Wikipedia:AutoWikiBrowser/Regular_expression]]
 
*https://developer.mozilla.org/en/Core_JavaScript_1.5_Guide/Regular_Expressions
 
*https://developer.mozilla.org/en/Core_JavaScript_1.5_Guide/Regular_Expressions
[[Category:Kirby Wiki]]</noinclude>
+
[[Category:Community]]</noinclude>

Latest revision as of 01:24, 31 August 2020

<Typo word="" find="" replace="" />


To account for:

  • Kirby / Kirby: / Kirby's / Kirbys / kirby / kirby: / kirby's / kirbys
[Kk]irby:?('s)?s?
  • Dream Land / DreamLand / Dreamland
[Dd]ream\s?[Ll]and
  • (italicize matching title, regardless of whether linked or not)
(?:''|)(\[\[)?\b    regex here     \b(\]\])?(?:''|)

Basic construct (copy and paste):

Reference