User talk:Rich Farmbrough/XML example

simplify <Replacement>

 <Find>\{\{Taxobox([\s\S]*?)\|( phylum\s*=\s*\[\[([^\]]+)\]\])([\s\S]*?)\|( subphylum\s*=\s*\[\[([^\]]+)\]\])([\s\S]*?)\}\}</Find>
 <Replace>Template:Taxobox$1</Replace>
 <Comment>Move subphylum after phylum</Comment>
 <IsRegex>true</IsRegex>
 <Enabled>true</Enabled>
 <Minor>true</Minor>
 <BeforeOrAfter>false</BeforeOrAfter>
 <RegularExpressionOptions>IgnoreCase, Multiline</RegularExpressionOptions>

</Replacement> <Replacement>

 <Find>\{\{Taxobox([\s\S]*?)\|( superfamilia\s*=\s*\[\[([^\]]+)\]\])([\s\S]*?)\|( familia\s*=\s*\[\[([^\]]+)\]\])([\s\S]*?)\}\}</Find>
 <Replace>Template:Taxobox$1</Replace>
 <Comment>Move superfamilia before familia</Comment>
 <IsRegex>true</IsRegex>
 <Enabled>true</Enabled>
 <Minor>true</Minor>
 <BeforeOrAfter>false</BeforeOrAfter>
 <RegularExpressionOptions>IgnoreCase, Multiline</RegularExpressionOptions>

</Replacement>

Start a discussion about User:Rich Farmbrough/XML example

Start a discussion
Return to the user page of "Rich Farmbrough/XML example".