Jump to content

User:Traveler100/imagereqproj

From Wikipedia, the free encyclopedia
<?xml version="1.0"?>
<AutoWikiBrowserPreferences xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:space="preserve" Version="5.4.0.0">
  <Project>wikipedia</Project>
  <LanguageCode>en</LanguageCode>
  <CustomProject />
  <Protocol>http://</Protocol>
  <PHP5>false</PHP5>
  <List>
    <ListSource>Wikipedia requested photographs in Canada</ListSource>
    <SelectedProvider>CategoryListProvider</SelectedProvider>
    <ArticleList />
  </List>
  <FindAndReplace>
    <Enabled>true</Enabled>
    <IgnoreSomeText>false</IgnoreSomeText>
    <IgnoreMoreText>false</IgnoreMoreText>
    <AppendSummary>false</AppendSummary>
    <Replacements />
    <AdvancedReps>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>reqfreephotoin</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqfreephotoin</replace_>
        <with_>{{reqphoto|free=yes|in=</with_>
        <ifContains_>{{reqfreephotoin</ifContains_>
        <ifNotContains_ />
        <regex_>false</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>reqfreephoto</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqfreephoto</replace_>
        <with_>{{reqphoto|free=yes</with_>
        <ifContains_>{{reqfreephoto</ifContains_>
        <ifNotContains_ />
        <regex_>false</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>reqscreenshot</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqscreenshot</replace_>
        <with_>{{reqphoto|of=</with_>
        <ifContains_>{{reqscreenshot</ifContains_>
        <ifNotContains_ />
        <regex_>false</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>pr</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{(photo requested|photoreq|Picture|Image requested|photo|req-photo)</replace_>
        <with_>{{reqphoto</with_>
        <ifContains_ />
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>None</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>image</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{(reqimage|image request|imageneeded|imagereq|reqimage|picture request|reqimageother|image needed|image)</replace_>
        <with_>{{reqphoto</with_>
        <ifContains_ />
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>None</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp not</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{WikiProject Cities</replace_>
            <with_>{{reqphoto}}
{{WikiProject Cities</with_>
            <ifContains_ />
            <ifNotContains_>{{reqphoto</ifNotContains_>
            <regex_>true</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase Multiline</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>needs-photo</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>(\|)( *needs-photo *= *)(yes|y|1)</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>IgnoreCase Multiline</regexOptions_>
          </IRule>
        </Children>
        <Name>WPCities</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{(WP Cities|WPCities)</replace_>
        <with_>{{WikiProject Cities</with_>
        <ifContains_>{{(WikiProject Cities|WP Cities|WPCities)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase Multiline</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>WPUS</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{WPUS</replace_>
            <with_>{{WikiProject United States</with_>
            <ifContains_ />
            <ifNotContains_>in=</ifNotContains_>
            <regex_>false</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>reqphoto</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto</replace_>
            <with_>{{reqphoto|in=the United States</with_>
            <ifContains_ />
            <ifNotContains_>in=</ifNotContains_>
            <regex_>true</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children>
              <IRule xsi:type="Rule">
                <enabled_>true</enabled_>
                <Children />
                <Name>rp not</Name>
                <ruletype_>OnWholePage</ruletype_>
                <replace_>{{WikiProject United States</replace_>
                <with_>{{reqphoto|in=the United States}}
{{WikiProject United States</with_>
                <ifContains_ />
                <ifNotContains_>{{reqphoto</ifNotContains_>
                <regex_>true</regex_>
                <ifIsRegex_>false</ifIsRegex_>
                <numoftimes_>1</numoftimes_>
                <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
                <regexOptions_>IgnoreCase Multiline</regexOptions_>
              </IRule>
            </Children>
            <Name>image-needed</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>(image-needed*= *)(yes|y|1)</replace_>
            <with_>$1</with_>
            <ifContains_ />
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>needs-image</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>(needs-image*= *)(yes|y|1)</replace_>
            <with_>$1</with_>
            <ifContains_ />
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Arizona</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=the United States</replace_>
            <with_>in=Arizona</with_>
            <ifContains_>(AZ *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Arkansas</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=the United States</replace_>
            <with_>in=Arkansas</with_>
            <ifContains_>(AR *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Colorado</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=the United States</replace_>
            <with_>in=Colorado</with_>
            <ifContains_>(CO *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Delaware</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=the United States</replace_>
            <with_>in=Delaware</with_>
            <ifContains_>(DE *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>District of Columbia</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=the United States</replace_>
            <with_>in=Washington, D.C.</with_>
            <ifContains_>(DC *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Idaho</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=the United States</replace_>
            <with_>in=Idaho</with_>
            <ifContains_>(ID *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Indiana</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=the United States</replace_>
            <with_>in=Indiana</with_>
            <ifContains_>(IN *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Kansas</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=the United States</replace_>
            <with_>in=Kansas</with_>
            <ifContains_>(KS *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Kentucky</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=the United States</replace_>
            <with_>in=Kentucky</with_>
            <ifContains_>(KY *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Louisville</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=Kentucky</replace_>
            <with_>in=Louisville, Kentucky</with_>
            <ifContains_>(Louisville *= *yes)</ifContains_>
            <ifNotContains_>WikiProject Biography</ifNotContains_>
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Louisiana</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=the United States</replace_>
            <with_>in=Louisiana</with_>
            <ifContains_>(LA *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Massachusetts</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=the United States</replace_>
            <with_>in=Massachusetts</with_>
            <ifContains_>(MA *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Mississippi</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=the United States</replace_>
            <with_>in=Mississippi</with_>
            <ifContains_>(MS *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>North Carolina</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=the United States</replace_>
            <with_>in=North Carolina</with_>
            <ifContains_>(NC *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>North Dakota</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=the United States</replace_>
            <with_>in=North Dakota</with_>
            <ifContains_>(ND *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Nebraska</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=the United States</replace_>
            <with_>in=Nebraska</with_>
            <ifContains_>(NE *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>New Hampshire</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=the United States</replace_>
            <with_>in=New Hampshire</with_>
            <ifContains_>(NH *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>New Mexico</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=the United States</replace_>
            <with_>in=New Mexico</with_>
            <ifContains_>(NM *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Ohio</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=the United States</replace_>
            <with_>in=Ohio</with_>
            <ifContains_>(OH *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Rhode Island</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=the United States</replace_>
            <with_>in=Rhode Island</with_>
            <ifContains_>(RI *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>South Carolina</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=the United States</replace_>
            <with_>in=South Carolina</with_>
            <ifContains_>(SC *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Texas</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=the United States</replace_>
            <with_>in=Texas</with_>
            <ifContains_>(TX *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Utah</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=the United States</replace_>
            <with_>in=Utah</with_>
            <ifContains_>(UT *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Vermont</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=the United States</replace_>
            <with_>in=Vermont</with_>
            <ifContains_>(VT *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Washington</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=the United States</replace_>
            <with_>in=Washington</with_>
            <ifContains_>(WA *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>West Virginia</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=the United States</replace_>
            <with_>in=West Virginia</with_>
            <ifContains_>(WV *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Wyoming</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=the United States</replace_>
            <with_>in=Wyoming</with_>
            <ifContains_>(WY *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
        </Children>
        <Name>{{WikiProject United States</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_ />
        <with_ />
        <ifContains_>{{(WikiProject United States|WPUS)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto</replace_>
            <with_>{{reqphoto|people</with_>
            <ifContains_ />
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>musicians</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto|people</replace_>
            <with_>{{reqphoto|musicians</with_>
            <ifContains_>(musician-work-group *= *)(yes|y|1)</ifContains_>
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>a&amp;e-work-group</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto|people</replace_>
            <with_>{{reqphoto|artists and entertainers</with_>
            <ifContains_>(a&amp;e-work-group *= *)(yes|y|1)</ifContains_>
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>filmbio-work-group</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto|people</replace_>
            <with_>{{reqphoto|actors and filmmakers</with_>
            <ifContains_>(filmbio-work-group *= *)(yes|y|1)</ifContains_>
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>military-work-group</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto|people</replace_>
            <with_>{{reqphoto|military-people</with_>
            <ifContains_>(military-work-group *= *)(yes|y|1)</ifContains_>
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>politician-work-group</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto|people</replace_>
            <with_>{{reqphoto|politicians and government-people</with_>
            <ifContains_>(politician-work-group *= *)(yes|y|1)</ifContains_>
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>royalty-work-group</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto|people</replace_>
            <with_>{{reqphoto|royalty and nobility</with_>
            <ifContains_>(royalty-work-group *= *)(yes|y|1)</ifContains_>
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>baronets-work-group</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto|people</replace_>
            <with_>{{reqphoto|peers</with_>
            <ifContains_>(baronets-work-group *= *)(yes|y|1)</ifContains_>
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>peerage-work-group</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto|people</replace_>
            <with_>{{reqphoto|peers</with_>
            <ifContains_>(peerage-work-group *= *)(yes|y|1)</ifContains_>
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>s&amp;a-work-group</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto|people</replace_>
            <with_>{{reqphoto|scientists and academics</with_>
            <ifContains_>(s&amp;a-work-group *= *)(yes|y|1)</ifContains_>
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>sports-work-group</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto|people</replace_>
            <with_>{{reqphoto|sportspeople</with_>
            <ifContains_>(sports-work-group *= *)(yes|y|1)</ifContains_>
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
        </Children>
        <Name>WPBiography</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{(WikiProject Biography|WP Biography|WPBiography|WPBIO|bio|WP Bio)</replace_>
        <with_>{{WikiProject Biography</with_>
        <ifContains_>{{(WikiProject Biography|WP Biography|WPBiography|WPBIO|bio|WP Bio)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Architecture</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|architecture</with_>
        <ifContains_>{{(WikiProject Architecture|WPArchitecture)</ifContains_>
        <ifNotContains_>{{reqphoto(.*?)architecture(.*?)}}</ifNotContains_>
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Horticulture and Gardening</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|gardening</with_>
        <ifContains_>{{(WikiProject Horticulture and Gardening)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{Animals</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|animals</with_>
        <ifContains_>{{(Animals|WikiProject Veterinary medicine|CetaTalk|WPEQ|WPSpiders|WikiProject Gastropods|WikiProject Sharks)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>LepidopteraTalk</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|insecta</with_>
        <ifContains_>Lepidoptera</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>ArthropodTalk</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|insecta</with_>
        <ifContains_>ArthropodTalk</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Insects</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|insecta</with_>
        <ifContains_>{{WikiProject Insects</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Dogs</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|dogs</with_>
        <ifContains_>{{(WikiProject Dogs|WPDOGS)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Cats</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|cats</with_>
        <ifContains_>{{WikiProject Cats</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{album</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|albums</with_>
        <ifContains_>{{(album|WikiProject Albums)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Automobiles</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|cars</with_>
        <ifContains_>(WikiProject Automobiles|WPAUTO|WP Auto|WPF1|WPCARS|WikiProject Cars)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Trucks</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|trucks</with_>
        <ifContains_>({{WikiProject Trucks|WPTrucks)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>History</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|history</with_>
        <ifContains_>{{(WikiProject History|WikiProject Jewish history|AncientEgypt|AncientEgyptBanner|Classical Greece and Rome|WikiProject Archaeology|ArchaeologyWikiProject)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>US</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto|military history</replace_>
            <with_>{{reqphoto|the United States military history</with_>
            <ifContains_>(US *= *yes)</ifContains_>
            <ifNotContains_>United States military history‎</ifNotContains_>
            <regex_>false</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
        </Children>
        <Name>WPMILHIST</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|military history</with_>
        <ifContains_>(WPMILHIST|WikiProject Military History|MILHIST)</ifContains_>
        <ifNotContains_>{{reqphoto(.*?)military history|weapons|military-people(.*?)}}</ifNotContains_>
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WP Languages</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|languages</with_>
        <ifContains_>{{(WP Languages|WP conlangs|WP Writing systems|LanguageTalk)</ifContains_>
        <ifNotContains_ />
        <regex_>false</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WPMusic</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|music topics</with_>
        <ifContains_>{{(WPMusic|WikiProject Music|WikiProject Contemporary music|Classical|Contemporary music|WikiProject hip hop|Southern Gospel|HMM|genre|Wikiproject Alternative music|WPJAZZ|Wikiproject Rock music)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WPSongs</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|songs</with_>
        <ifContains_>{{(WikiProjectSongs|songs|WikiProject Songs|WP Songs|song|WPSongs)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WPMusInst</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|musical instruments</with_>
        <ifContains_>(WPMusInst|WikiProject Musical Instruments)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Food and drink</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|food</with_>
        <ifContains_>(WikiProject Food and drink|WPFOOD|WP Food|Food and drink|Wine|WPMIX|WikiProject Food)</ifContains_>
        <ifNotContains_>{{reqphoto(.*?)food|beverages(.*?)}}</ifNotContains_>
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Anime and manga</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|anime and manga</with_>
        <ifContains_>{{(WikiProject Anime and manga|manga|anime)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject toys</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|toys</with_>
        <ifContains_>{{(WikiProject toys|WP toys|WikiProject Transformers|WikiProject Toys)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>games</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|games</with_>
        <ifContains_>{{(BTGProject|WikiProject Games|Warhammer 40,000 Project|WikiProject Pinball)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{Sports facilities</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|arenas and stadiums</with_>
        <ifContains_>{{(Sports facilities)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Sports</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|sports and games</with_>
        <ifContains_>{{(WikiProject Sports|snooker project|WPMS|Wikiproject Golf|Thoroughbred_racingWikiProject NASCAR|Baseball|OlympicsWikiProject|WikiProject Mixed Martial Arts|Ski|WPF1)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Fisheries and Fishing</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|fishing</with_>
        <ifContains_>{{(WikiProject Fisheries and Fishing|WPFISHING)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Gymnastics</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|gymnastics</with_>
        <ifContains_>{{(WikiProject Gymnastics)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Swimming</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|swimming</with_>
        <ifContains_>{{(WP Swimming)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProjectBoxing Pro-wrestling</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|sports and games</with_>
        <ifContains_>{{(WikiProjectBoxing|Pro-wrestling)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Bowling</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|sports and games</with_>
        <ifContains_>{{WikiProject Bowling</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject  football</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|association football</with_>
        <ifContains_>{{(Wikiproject Football|Football)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Netball</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|netball</with_>
        <ifContains_>{{(WikiProject Netball|Netball)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>Basketball</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|basketball</with_>
        <ifContains_>{{(WikiProject Basketball|NBA Project)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject  american football</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|American football</with_>
        <ifContains_>{{(WikiProject College football|American football|NFLproject)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>Wikiproject Arena Football</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|sports and games</with_>
        <ifContains_>Wikiproject Arena Football</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{iMartialartsproject</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|sports and games</with_>
        <ifContains_>{{Martialartsproject</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{ice hockey</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|sports and games</with_>
        <ifContains_>{{ice hockey</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{Chess-WikiProject</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|sports and games</with_>
        <ifContains_>{{Chess-WikiProject</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{Cycling</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|sports and games</with_>
        <ifContains_>{{Cycling</ifContains_>
        <ifNotContains_ />
        <regex_>false</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>None</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WP Crime</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|law and crime topics</with_>
        <ifContains_>(WP Crime|WikiProject Crime)</ifContains_>
        <ifNotContains_>{{reqphoto(.*?)law and crime topics(.*?)}}</ifNotContains_>
        <regex_>false</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>None</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject International law</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|law and crime topics</with_>
        <ifContains_>WikiProject International law</ifContains_>
        <ifNotContains_>{{reqphoto(.*?)law and crime topics(.*?)}}</ifNotContains_>
        <regex_>false</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>None</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Law</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|law and crime topics</with_>
        <ifContains_>{{(WikiProject Law|law enforcement|WPLE)</ifContains_>
        <ifNotContains_>{{reqphoto(.*?)law and crime topics(.*?)}}</ifNotContains_>
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>military and police</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|military and police</with_>
        <ifContains_>{{(law enforcement)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Politics</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|political topics</with_>
        <ifContains_>{{(WikiProject Politics)</ifContains_>
        <ifNotContains_>{{reqphoto(.*?)political topics(.*?)}}</ifNotContains_>
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{Business Companies</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|business &amp; economic topics</with_>
        <ifContains_>{{(Business|WikiProject Companies|WP Companies)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Business &amp; Economics WikiProject Retailing</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|business &amp; economic topics</with_>
        <ifContains_>{{(WikiProject Business &amp; Economics|WikiProject Retailing|WikiProject Economics|WikiProject Business)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>sx</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|sexuality subjects</with_>
        <ifContains_>(WP Sexuality|WPSexuality|WikiProject Sexuality|Pornproject)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WPMED</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|medical subjects</with_>
        <ifContains_>{{(WikiProject Medicine|WPMED|WikiProject Alternative medicine|WikiProject Health|WikiProject Dentistry|WPDENT)</ifContains_>
        <ifNotContains_>{{reqphoto(.*?)medical subjects(.*?)}}</ifNotContains_>
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>TelevisionWikiProject</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|television programs</with_>
        <ifContains_>{{(Television|TelevisionWikiProject|WP Television|WikiProject Television|stargateproject|BBCproject|Wikiproject Nickelodeon|WikiProject Soap Operas|Simpson|WikiProjectBSG|WikiProject TV Game Shows|SouthParkProject|WPTV)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Human rights</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|political topics</with_>
        <ifContains_>{{(WikiProject Human rights|politics|WikiProjectPolitics)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>Sociology WPAnthro</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|society</with_>
        <ifContains_>(WPAnthro|WikiProject Sociology|WP Sociology)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>Philosophy Psychology,</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|human behavior</with_>
        <ifContains_>(WikiProject Psychology|philosophy)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WP Mythology</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|mythology subjects</with_>
        <ifContains_>{{(WP Mythology|WikiProject Mythology|WikiProject Hindu Mythology)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Judaism</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|religious subjects</with_>
        <ifContains_>{{(WPJudaism|WikiProject Judaism|WikiProject Jewish history)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WPISLAM</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|religious subjects</with_>
        <ifContains_>{{(WPISLAM|WikiProject Islam)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WPOccult</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|religious subjects</with_>
        <ifContains_>{{WPOccult</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Hinduism</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|religious subjects</with_>
        <ifContains_>{{WikiProject Hinduism</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Buddhism</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|religious subjects</with_>
        <ifContains_>{{WikiProject Buddhism</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Taoism</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|religious subjects</with_>
        <ifContains_>{{WikiProject Taoism</ifContains_>
        <ifNotContains_ />
        <regex_>false</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>None</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{Project Catholicism|WikiProject Christianity</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|religious subjects</with_>
        <ifContains_>{{(Project Catholicism|WikiProject Christianity|Christianity|WikiProject Catholicism|Anglicanismproject)</ifContains_>
        <ifNotContains_>{{reqphoto(.*?)religious subjects(.*?)}}</ifNotContains_>
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WPReligion WikiProject Scientology</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|religious subjects</with_>
        <ifContains_>{{(WPReligion|WikiProject Scientology|WikiProject Religion)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{Opera WP Dance Marching band</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|performing arts</with_>
        <ifContains_>{{(WikiProject Opera|WPOpera|Opera|WP Dance|WikiProject Dance|WikiProject Marching band|drumcorps-project)</ifContains_>
        <ifNotContains_>{{reqphoto(.*?)performing arts(.*?)}}</ifNotContains_>
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Theatre</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|performing arts</with_>
        <ifContains_>(WikiProject Theatre|Musicals-project)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Circus</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|performing arts</with_>
        <ifContains_>WikiProject Circus</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>Visual arts</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|art</with_>
        <ifContains_>{{(Visual arts|WikiProject Visual arts|WPSculpture|WikiProject_HOP)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Textile Arts</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|decorative arts</with_>
        <ifContains_>{{WikiProject Textile Arts</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{Chemicals</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|chemical compounds</with_>
        <ifContains_>{{(Chemicals|Chemical Element|WPCHEMICALS)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{physics</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|physics subjects</with_>
        <ifContains_>{{(physics|WikiProject Physics)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{HistSci</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|science</with_>
        <ifContains_>{{HistSci</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{energy</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|energy subjects</with_>
        <ifContains_>{{(energy|WP Energy|WikiProject Energy|WPENERGY)</ifContains_>
        <ifNotContains_>{{reqphoto(.*?)energy subjects(.*?)}}</ifNotContains_>
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{environment</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|environmental topics</with_>
        <ifContains_>{{environment</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>Ecology Geography</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|earth science subjects</with_>
        <ifContains_>{{(WikiProject Geography|WikiProject Ecology|Ecology|Geography|WP Earthquakes|Non-tropical|Soil|hurricane)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>Fungi</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|fungi</with_>
        <ifContains_>(Fungi|WPFUNGI)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Viruses</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|Viruses</with_>
        <ifContains_>WikiProject Viruses|WPVIRUS</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Books</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|publications</with_>
        <ifContains_>(WPBooks|WikiProject Books|WPJournals|JournProject|WikiProject Journalism|WikiProject Media|WikiProject Magazines|WikiProject Academic Journals)</ifContains_>
        <ifNotContains_>{{reqphoto(.*?)publications(.*?)}}</ifNotContains_>
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>NovelsWikiProject</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|publications</with_>
        <ifContains_>(NovelsWikiProject|WikiProject Novels)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{Blp}}</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|people</with_>
        <ifContains_>{{Blp}}</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Ships</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|ships</with_>
        <ifContains_>{{(WikiProject Ships|Ships|WPSHIPS)</ifContains_>
        <ifNotContains_>{{reqphoto(.*?)ships(.*?)}}</ifNotContains_>
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Geology</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|geology</with_>
        <ifContains_>(WikiProject Geology|WPGeology)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Oceans</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=the oceans</with_>
        <ifContains_>(WikiProject Oceans|WP Oceans|WP Oceanography|Oceanography)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WP Gemology and Jewelry</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|jewelry</with_>
        <ifContains_>(WikiProject Gemology and Jewelry|WP Gemology and Jewelry)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{Engineering</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|engineering subjects</with_>
        <ifContains_>{{(WikiProject Engineering|Engineering)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Technology</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|technology</with_>
        <ifContains_>{{(WikiProject Technology|Metalworking|Woodworking|WikiProject Professional sound production|WikiProject Robotics|WikiProject Electronics)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Electronics|</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|electronics</with_>
        <ifContains_>{{(WikiProject Electronics|electron)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WPFarm</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|agricultural topics</with_>
        <ifContains_>{{(WPFarm)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Amateur radio</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|amateur radio</with_>
        <ifContains_>{{(WikiProject Amateur radio)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WPGUNS</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|firearms</with_>
        <ifContains_>{{(WPGUNS|WikiProject Firearms)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>SFBA Project</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=California</with_>
        <ifContains_>(SFBA Project|SFBAProject)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject South Carolina</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=North Carolina</with_>
        <ifContains_>{{WikiProject South Carolina</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject North Carolina</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=North Carolina</with_>
        <ifContains_>{{(WikiProject North Carolina|Project North Carolina)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Arkansas</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Arkansas</with_>
        <ifContains_>{{(WikiProject Arkansas)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Kentucky</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Kentucky</with_>
        <ifContains_>{{(WikiProject Kentucky|WPKentucky)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject California</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=California</with_>
        <ifContains_>{{(WikiProject California|WPCALIFORNIA)</ifContains_>
        <ifNotContains_>{{reqphoto(.*?)California(.*?)}}</ifNotContains_>
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Southern California</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=California</with_>
        <ifContains_>{{WikiProject Southern California</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Micronesia</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Oceania</with_>
        <ifContains_>{{WikiProject Micronesia</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{Project Colorado</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Colorado</with_>
        <ifContains_>{{Project Colorado</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WPOREGON</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Oregon</with_>
        <ifContains_>{{WPOREGON</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WPOKLAHOMA</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Oklahoma</with_>
        <ifContains_>{{(WPOKLAHOMA|WikiProject_Oklahoma|WikiProject Oklahoma)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject_Arizona</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Arizona</with_>
        <ifContains_>{{(WikiProject_Arizona|WikiProject Arizona|WPArizona)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject_Alabama</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Alabama</with_>
        <ifContains_>{{(WikiProject_Alabama|WikiProject Alabama|WPAlabama)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject New Orleans</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Louisiana</with_>
        <ifContains_>{{WikiProject New Orleans</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Maryland</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Maryland</with_>
        <ifContains_>{{WikiProject Maryland</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Maine</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Maine</with_>
        <ifContains_>{{WikiProject Maine</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Montana</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Montana</with_>
        <ifContains_>{{WikiProject Montana</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Missouri</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Missouri</with_>
        <ifContains_>{{WikiProject Missouri</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Indiana WikiProject Indianapolis</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Indiana</with_>
        <ifContains_>{{(WikiProject Indiana|WikiProject Indianapolis)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Illinois</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Illinois</with_>
        <ifContains_>{{WikiProject Illinois</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Iowa</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Iowa</with_>
        <ifContains_>{{(WikiProject Iowa|WPIowa|Project Iowa)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{Wikiproject Utah</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Utah</with_>
        <ifContains_>{{Wikiproject Utah</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Idaho</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Idaho</with_>
        <ifContains_>{{WikiProject Idaho</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{Wikiproject Kansas</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Kansas</with_>
        <ifContains_>{{Wikiproject Kansas</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WPNYC</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=New York City</with_>
        <ifContains_>{{WPNYC</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject New York</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=New York</with_>
        <ifContains_>{{(WikiProject New York|WPNY|Hudson Valley)</ifContains_>
        <ifNotContains_>{{reqphoto(.*?)(New York|Long Island)(.*?)}}</ifNotContains_>
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject New Jersey</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=New Jersey</with_>
        <ifContains_>{{(WikiProject New Jersey|WPNJ|Project New Jersey)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject DC</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Washington, D.C.</with_>
        <ifContains_>{{(WikiProject DC)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Oregon</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Oregon</with_>
        <ifContains_>{{WikiProject Oregon</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Texas</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Texas</with_>
        <ifContains_>{{(WikiProject Texas|WPHouston)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Philadelphia</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Philadelphia</with_>
        <ifContains_>{{WikiProject Philadelphia</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Pennsylvania</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Pennsylvania</with_>
        <ifContains_>{{WikiProject Pennsylvania</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{PittsburghWikiProject</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Pennsylvania</with_>
        <ifContains_>{{(PittsburghWikiProject|pghproj)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{Project Massachusetts</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Massachusetts</with_>
        <ifContains_>{{(Project Massachusetts|WikiProject Massachusetts)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{Project Alaska</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Alaska</with_>
        <ifContains_>{{Project Alaska</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Hawaii</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Hawaii</with_>
        <ifContains_>{{(WikiProject Hawaii|WPHawaii)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Minnesota</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Minnesota</with_>
        <ifContains_>{{WikiProject Minnesota</ifContains_>
        <ifNotContains_>{{reqphoto(.*?)Minnesota(.*?)}}</ifNotContains_>
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Mississippi</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Mississippi</with_>
        <ifContains_>{{WikiProject Mississippi|WPMISSISSIPPI</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Nevada</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Nevada</with_>
        <ifContains_>{{(WikiProject Nevada|wplv|Wikiproject Las Vegas)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject New Mexico</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=New Mexico</with_>
        <ifContains_>{{WikiProject New Mexico</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>reqphoto</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto</replace_>
            <with_>{{reqphoto|in=Canada</with_>
            <ifContains_ />
            <ifNotContains_>{{reqphoto(.*?)(Canada|Saskatchewan|Alberta|Ontario|British Columbia|Vancouver|New Brunswick|Newfoundland and Labrador|Northwest Territories|Nova Scotia|Nunavut|Manitoba|Toronto|Ottawa|Price Edward Island|Quebec|Montreal|Yukon)(.*?)}}</ifNotContains_>
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Alberta</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=Canada</replace_>
            <with_>in=Alberta</with_>
            <ifContains_>(ab *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>British Columbia</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=Canada</replace_>
            <with_>in=British Columbia</with_>
            <ifContains_>(bc *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>vancouver</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=(British Columbia|Canada)</replace_>
            <with_>in=Vancouver</with_>
            <ifContains_>(vancouver *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>New Brunswick</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=Canada</replace_>
            <with_>in=New Brunswick</with_>
            <ifContains_>(nb *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Newfoundland and Labrador</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=Canada</replace_>
            <with_>in=Newfoundland and Labrador</with_>
            <ifContains_>(nl *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Northwest Territories</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=Canada</replace_>
            <with_>in=Northwest Territories</with_>
            <ifContains_>(nt *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Nova Scotia</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=Canada</replace_>
            <with_>in=Nova Scotia</with_>
            <ifContains_>(ns *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Nunavut</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=Canada</replace_>
            <with_>in=Nunavut</with_>
            <ifContains_>(nu *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Manitoba</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=Canada</replace_>
            <with_>in=Manitoba</with_>
            <ifContains_>(mb *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Ontario</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=Canada</replace_>
            <with_>in=Ontario</with_>
            <ifContains_>(on *= *yes)</ifContains_>
            <ifNotContains_>education=yes</ifNotContains_>
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Toronto</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=(Ontario|Canada)</replace_>
            <with_>in=Toronto</with_>
            <ifContains_>(toronto *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>ottawa</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=(Ontario|Canada)</replace_>
            <with_>in=Ottawa</with_>
            <ifContains_>(ottawa *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Prince Edward Island</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=Canada</replace_>
            <with_>in=Prince Edward Island</with_>
            <ifContains_>(pe *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Quebec</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=Canada</replace_>
            <with_>in=Quebec</with_>
            <ifContains_>(qc *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>montreal</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=(Quebec|Canada)</replace_>
            <with_>in=Montreal</with_>
            <ifContains_>(montreal *= *yes)|(mtl *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Saskatchewan</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=Canada</replace_>
            <with_>in=Saskatchewan</with_>
            <ifContains_>(sk *= *yes)</ifContains_>
            <ifNotContains_>{{reqphoto(.*?)Saskatchewan(.*?)}}</ifNotContains_>
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Yukon</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=Canada</replace_>
            <with_>in=Yukon</with_>
            <ifContains_>(yt *= *yes)</ifContains_>
            <ifNotContains_>{{reqphoto(.*?)Saskatchewan(.*?)}}</ifNotContains_>
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
        </Children>
        <Name>{{WikiProject Canada</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{(WikiProject Canada|WPCANADA)</replace_>
        <with_>{{WikiProject Canada</with_>
        <ifContains_>{{(WikiProject Canada|WPCANADA)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{OttawaProject</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Ottawa</with_>
        <ifContains_>{{(WikiProject Ottawa|OttawaProject)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{SKCNproject</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Saskatchewan</with_>
        <ifContains_>{{(SKCNproject|WikiProject Saskatchewan Communities &amp; Neighbourhoods|WikiProject Saskatchewan)</ifContains_>
        <ifNotContains_>{{reqphoto(.*?)Saskatchewan(.*?)}}</ifNotContains_>
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WPFinland</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Finland</with_>
        <ifContains_>{{WPFinland</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Ukraine</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Ukraine</with_>
        <ifContains_>{{WikiProject Ukraine</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Russia</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Russia</with_>
        <ifContains_>{{(WikiProject Russia|WPRussia)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Latvia</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Latvia</with_>
        <ifContains_>{{WikiProject Latvia</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Estonia</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Estonia</with_>
        <ifContains_>{{WikiProject Estonia</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Albania</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Albania</with_>
        <ifContains_>{{WikiProject Albania</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Portugal</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Portugal</with_>
        <ifContains_>{{WikiProject Portugal</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Spain</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Spain</with_>
        <ifContains_>{{(WikiProject Spain|WPSpain)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Cuba</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Cuba</with_>
        <ifContains_>{{(WikiProject Cuba|WPCuba|WP Cuba)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Brazil</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Brazil</with_>
        <ifContains_>{{(WikiProject Brazil|WPBrazil)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Chile</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Chile</with_>
        <ifContains_>{{(WikiProject Chile|WPChile)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Argentina</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Argentina</with_>
        <ifContains_>{{(WikiProject Argentina|WPArgentina)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Trinidad and Tobago</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Trinidad and Tobago</with_>
        <ifContains_>{{(WikiProject Trinidad and Tobago)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{PeruProjectBanner</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Peru</with_>
        <ifContains_>{{(WikiProject Peru|WPPeru|PeruProjectBanner)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WPArgentina</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Argentina</with_>
        <ifContains_>{{WPArgentina</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject European Union</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Europe</with_>
        <ifContains_>{{WikiProject European Union</ifContains_>
        <ifNotContains_ />
        <regex_>false</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>None</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject England</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=England</with_>
        <ifContains_>{{WikiProject England</ifContains_>
        <ifNotContains_>{{reqphoto(.*?)in=England(.*?)}}</ifNotContains_>
        <regex_>false</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>None</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WPUKgeo WPUK</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=the United Kingdom</with_>
        <ifContains_>{{(WPUKgeo|WPE|WPUK|WikiProject United Kingdom)</ifContains_>
        <ifNotContains_>{{reqphoto(.*?)the United Kingdom(.*?)}}</ifNotContains_>
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Sheffield</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=South Yorkshire</with_>
        <ifContains_>{{WikiProject Sheffield</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WPSurrey</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Surrey</with_>
        <ifContains_>{{WPSurrey</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Kent</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Kent</with_>
        <ifContains_>{{WikiProject Kent</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Devon</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Devon</with_>
        <ifContains_>{{(WikiProject Devon|WPDevon|WP Devon)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Dorset</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Dorset</with_>
        <ifContains_>{{(WikiProject Dorset|WPDorset|WP Dorset)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Cornwall</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Cornwall</with_>
        <ifContains_>{{(WikiProject  Cornwall|WP Cornwall|WP  Cornwall|CornwallWikiproject)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Walt Disney World</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Florida</with_>
        <ifContains_>{{WikiProject Walt Disney World</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Berkshire</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Berkshire</with_>
        <ifContains_>{{WikiProject Berkshire</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Somerset</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Somerset</with_>
        <ifContains_>{{WikiProject Somerset</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Rhode Island</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Rhode Island</with_>
        <ifContains_>{{WikiProject Rhode Island</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Wyoming</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Wyoming</with_>
        <ifContains_>{{WikiProject Wyoming</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Virginia</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Virginia</with_>
        <ifContains_>{{(WikiProject Virginia|WPVirginia|WP Virginia)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject West Virginia</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=West Virginia</with_>
        <ifContains_>{{(WikiProject West Virginia|WPWestVirginia|WP West Virginia)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Michigan</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Michigan</with_>
        <ifContains_>{{(WikiProject Michigan|WPMICHIGAN)</ifContains_>
        <ifNotContains_>{{reqphoto(.*?)Michigan(.*?)}}</ifNotContains_>
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Louisiana</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Louisiana</with_>
        <ifContains_>{{WikiProject Louisiana</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Nebraska</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Nebraska</with_>
        <ifContains_>{{WikiProject Nebraska</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Wisconsin</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Wisconsin</with_>
        <ifContains_>{{WikiProject Wisconsin</ifContains_>
        <ifNotContains_>{{reqphoto(.*?)Wisconsin(.*?)}}</ifNotContains_>
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{OH-Project WPOHIO</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Ohio</with_>
        <ifContains_>{{(OH-Project|WPOHIO|WikiProject Ohio)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{SC-Project</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=South Carolina</with_>
        <ifContains_>{{SC-Project</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WPTAIWAN</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Taiwan</with_>
        <ifContains_>{{(WPTAIWAN|WikiProject Taiwan)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Hong Kong</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Hong Kong</with_>
        <ifContains_>{{(WPHK|WPHONGKONG|WikiProject Hong Kong)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Indonesia</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Indonesia</with_>
        <ifContains_>{{(WP Indonesia|WPIndonesia|WikiProject Indonesia)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Malaysia</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Malaysia</with_>
        <ifContains_>{{(WPMalaysia|WikiProject Malaysia|WP Malaysia)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Thailand</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Thailand</with_>
        <ifContains_>{{(WPThailand|WikiProject Thailand|WPThai)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WPCHINA</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=China</with_>
        <ifContains_>{{(WPCHINA|WikiProject China)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>false</enabled_>
        <Children />
        <Name>{{WP India</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=India</with_>
        <ifContains_>{{(WP India|WPIndia|WikiProject India)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WP Pakistan</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Pakistan</with_>
        <ifContains_>{{(WP Pakistan|WPPakistan|WikiProject Pakistan)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WP Bangladesh</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Bangladesh</with_>
        <ifContains_>{{(WP Bangladesh|WPBangladesh|WikiProject Bangladesh)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Sri Lanka</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Sri Lanka</with_>
        <ifContains_>{{(WP Sri Lanka|WikiProject Sri Lanka)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Saudi Arabia</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Saudi Arabia</with_>
        <ifContains_>{{(WikiProject Saudi Arabia)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Qatar</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Qatar</with_>
        <ifContains_>{{(WikiProject Qatar)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Bahrain</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Bahrain</with_>
        <ifContains_>{{(WikiProject Bahrain)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Yemen</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Yemen</with_>
        <ifContains_>{{(WikiProject Yemen|Yemen)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WP Afghanistan</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Afghanistan</with_>
        <ifContains_>{{(WP Afghanistan|WPAfghanistan|WikiProject Afghanistan)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WP Iraq</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Iraq</with_>
        <ifContains_>{{(WP Iraq|WPIraq|WikiProject Iraq)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WP Iran</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Iran</with_>
        <ifContains_>{{(WP Iran|WPIran|WikiProject Iran)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WP Azerbaijan</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Azerbaijan</with_>
        <ifContains_>{{(WP Azerbaijan|WPAzerbaijan|WikiProject Azerbaijan)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WP Armenia</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Armenia</with_>
        <ifContains_>{{(WP Armenia|WPArmenia|WikiProject Armenia)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WP Georgia (country)</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Georgia (country)</with_>
        <ifContains_>{{(WP Georgia \(country\)|WPGeorgia \(country\)|WikiProject Georgia \(country\))</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Syria</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Syria</with_>
        <ifContains_>{{(WP Syria|WPSyria|WikiProject Syria)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WPSCOTLAND</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Scotland</with_>
        <ifContains_>{{(WPSCOTLAND|WP Scotland|WikiProject Scotland)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WPSI</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Scotland</with_>
        <ifContains_>{{WPSI</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Wales</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Wales</with_>
        <ifContains_>{{(WikiProject Wales|WPWALES)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WPKorea</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Korea</with_>
        <ifContains_>{{(WPKOREA|WP KOREA|KOREA|WikiProject Korea)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Myanmar</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Burma</with_>
        <ifContains_>{{(WikiProject Myanmar|WP Myanmar)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WPNEPAL</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Nepal</with_>
        <ifContains_>{{(WPNEPAL|WikiProject Nepal)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WPPhilippines</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=the Philippines</with_>
        <ifContains_>{{(WPPhilippines|WikiProject Philippines)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WPVN Vietnam</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Vietnam</with_>
        <ifContains_>{{(WPVN|WPVIETNAM|WikiProject Vietnam|WP Vietnam)</ifContains_>
        <ifNotContains_>{{reqphoto(.*?)Vietnam(.*?)}}</ifNotContains_>
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{SG Singapore</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Singapore</with_>
        <ifContains_>{{(SG|WikiProject Singapore)</ifContains_>
        <ifNotContains_>{{reqphoto(.*?)Singapore(.*?)}}</ifNotContains_>
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WPJAPAN</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Japan</with_>
        <ifContains_>{{(WikiProject Japan|WP JAPAN|WPJAPAN|WPJ|TIJ|Trains in Japan)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>WP Australia</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{WP Australia</replace_>
            <with_>{{WikiProject Australia</with_>
            <ifContains_>{{WP Australia</ifContains_>
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>reqphoto</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto</replace_>
            <with_>{{reqphoto|in=Australia</with_>
            <ifContains_ />
            <ifNotContains_>{{reqphoto(.*?)in=Australia(.*?)}}</ifNotContains_>
            <regex_>false</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp not</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{WikiProject Australia</replace_>
            <with_>{{reqphoto|in=Australia}}
{{WikiProject Australia</with_>
            <ifContains_ />
            <ifNotContains_>{{reqphoto</ifNotContains_>
            <regex_>false</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase Multiline</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>NSW</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=Australia</replace_>
            <with_>in=New South Wales</with_>
            <ifContains_>(NSW *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>SA</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=Australia</replace_>
            <with_>in=South Australia</with_>
            <ifContains_>(SA *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
        </Children>
        <Name>{{WP Australia</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_ />
        <with_ />
        <ifContains_>{{(WP Australia|WikiProject Australia|WPAUSTRALIA)</ifContains_>
        <ifNotContains_ />
        <regex_>false</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WPNZ</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=New Zealand</with_>
        <ifContains_>{{(WPNZ|WikiProject New Zealand)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WPLondon</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=London</with_>
        <ifContains_>{{(WPLondon|WP London|WikiProject London)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Tennessee</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Tennessee</with_>
        <ifContains_>{{WikiProject Tennessee</ifContains_>
        <ifNotContains_>{{reqphoto(.*?)Tennessee(.*?)}}</ifNotContains_>
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject GeorgiaUS</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Georgia (U.S. state)</with_>
        <ifContains_>{{(WikiProject GeorgiaUS|WikiProject Georgia Tech|WikiProject Georgia \(U.S. state\))</ifContains_>
        <ifNotContains_>{{reqphoto(.*?)Georgia(.*?)}}</ifNotContains_>
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Connecticut</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Connecticut</with_>
        <ifContains_>{{WikiProject Connecticut</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Florida</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Florida</with_>
        <ifContains_>{{(WikiProject Florida|WPFlorida)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject South Dakota</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=South Dakota</with_>
        <ifContains_>{{(WikiProject South Dakota|WPSouth Dakota)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Washington</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Washington</with_>
        <ifContains_>{{WikiProject Washington</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Germany</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Germany</with_>
        <ifContains_>{{(WikiProject Germany|WPGERMANY|WP Germany)</ifContains_>
        <ifNotContains_>{{reqphoto(.*?)Germany(.*?)}}</ifNotContains_>
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Austria</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Austria</with_>
        <ifContains_>{{(WikiProject Austria|WPAustria|WP Austria)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WPMEXICO</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Mexico</with_>
        <ifContains_>{{(WPMEXICO|WikiProject Mexico|ProjectMexico)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Colombia</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Colombia</with_>
        <ifContains_>{{WikiProject Colombia</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Ecuador</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Ecuador</with_>
        <ifContains_>{{WikiProject Ecuador</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WPTURKEY</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Turkey</with_>
        <ifContains_>{{(WPTURKEY|WPTR|WikiProject Turkey)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Greece</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Greece</with_>
        <ifContains_>{{(WikiProject Greece|WPGR|WP Greece)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Cyprus</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Cyprus</with_>
        <ifContains_>{{(WPCYP|WikiProject Cyprus)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Switzerland</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Switzerland</with_>
        <ifContains_>{{(WikiProject Switzerland|WPSwitzerland)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Serbia</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Serbia</with_>
        <ifContains_>{{(WikiProject Serbia|WP Serbia)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Montenegro</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Montenegro</with_>
        <ifContains_>{{(WikiProject Montenegro|WP Montenegro)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Bulgaria</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Bulgaria</with_>
        <ifContains_>{{(WikiProject Bulgaria|WPBG)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Romania</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Romania</with_>
        <ifContains_>{{(WikiProject Romania|WPRomania|WPRO)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WPAM Armenian</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Armenia</with_>
        <ifContains_>{{(WPAM)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WPPOLAND</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Poland</with_>
        <ifContains_>{{(WikiProject POLAND|WPPOLAND)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject France</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=France</with_>
        <ifContains_>{{(WikiProject France|WPFrance)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Belgium</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Belgium</with_>
        <ifContains_>{{(WikiProject Belgium|WPBelgium)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WP Italy</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Italy</with_>
        <ifContains_>{{(WP Italy|WikiProject Italy|WPITALY)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Ireland</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Ireland</with_>
        <ifContains_>{{(WikiProject Ireland|WPNI)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Norway</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Norway</with_>
        <ifContains_>{{WikiProject Norway</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Sweden</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Sweden</with_>
        <ifContains_>{{(WikiProject Sweden|WPSWEDEN)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Denmark</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Denmark</with_>
        <ifContains_>{{WikiProject Denmark</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Iceland</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Iceland</with_>
        <ifContains_>{{WikiProject Iceland</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject WPNETHERLANDS</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=the Netherlands</with_>
        <ifContains_>{{(WikiProject NETHERLANDS|WPNETHERLANDS|WP NETHERLANDS)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>Finland</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Finland</with_>
        <ifContains_>{{(WPFinland|Finland|WikiProject Finland)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WPCZECH</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=the Czech Republic</with_>
        <ifContains_>{{(WPCZECH|WikiProject CZECH)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Slovakia</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Slovakia</with_>
        <ifContains_>{{(WikiProject Slovakia|WP Slovakia)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Slovenia</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Slovenia</with_>
        <ifContains_>{{(WikiProject Slovenia|WP Slovenia)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Libya</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=Africa</replace_>
            <with_>in=Libya</with_>
            <ifContains_>(Libya *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Tanzania</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=Africa</replace_>
            <with_>in=Tanzania</with_>
            <ifContains_>(Tanzania *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Namibia</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=Africa</replace_>
            <with_>in=Namibia</with_>
            <ifContains_>(Namibia *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Madagascar</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=Africa</replace_>
            <with_>in=Madagascar</with_>
            <ifContains_>(Madagascar *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Morocco</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=Africa</replace_>
            <with_>in=Morocco</with_>
            <ifContains_>(Morocco *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Nigeria</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=Africa</replace_>
            <with_>in=Nigeria</with_>
            <ifContains_>(Nigeria*= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Kenya</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=Africa</replace_>
            <with_>in=Kenya</with_>
            <ifContains_>(Kenya *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>South Africa</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=Africa</replace_>
            <with_>in=South Africa</with_>
            <ifContains_>(South Africa *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Gabon</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=Africa</replace_>
            <with_>in=Gabon</with_>
            <ifContains_>(Gabon *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Somalia</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=Africa</replace_>
            <with_>in=Somalia</with_>
            <ifContains_>(Somalia *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Sudan</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=Africa</replace_>
            <with_>in=Sudan</with_>
            <ifContains_>(Sudan *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Republic of the Congo</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=Africa</replace_>
            <with_>in=the Democratic Republic of the Congo‎</with_>
            <ifContains_>(Republic of the Congo *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
        </Children>
        <Name>WikiProject Africa</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Africa</with_>
        <ifContains_>{{(WikiProject Africa|AfricaProject)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Guyana</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=South America</replace_>
            <with_>in=Guyana</with_>
            <ifContains_>(Guyana *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
        </Children>
        <Name>WikiProject South America</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=South America</with_>
        <ifContains_>{{(WikiProject South America)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>Guatemala</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>in=Central America</replace_>
            <with_>in=Guatemala</with_>
            <ifContains_>(Guatemala *= *yes)</ifContains_>
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>true</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
        </Children>
        <Name>WikiProject Central America</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Central America</with_>
        <ifContains_>{{(WikiProject Central America)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Egypt</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Egypt</with_>
        <ifContains_>{{(WikiProject Egypt|WPEgypt|WP Egypt)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Nigeria</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Nigeria</with_>
        <ifContains_>{{(WikiProject Nigeria|WPNigeria|WP Nigeria)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Tunisia</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Tunisia</with_>
        <ifContains_>{{(WikiProject Tunisia|WPTunisia|WP Tunisia)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Libya</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Libya</with_>
        <ifContains_>{{(WikiProject Libya|WPLibya|WP Libya)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Algeria</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Algeria</with_>
        <ifContains_>{{(WikiProject Algeria|WPAlgeria|WP Algeria)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Palestine</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=the Palestinian territories</with_>
        <ifContains_>{{(WikiProject Palestine|WP Palestine)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Israel</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Israel</with_>
        <ifContains_>{{(WikiProject Israel|WP Israel)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Lebanon</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Lebanon</with_>
        <ifContains_>{{(WikiProject Lebanon|WP Lebanon)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WPMOROCCO</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Morocco</with_>
        <ifContains_>{{(WikiProject Morocco|WPMOROCCO)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>WikiProject Antarctica</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|in=Antarctica</with_>
        <ifContains_>{{WikiProject Antarctica</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Fashion</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|fashion</with_>
        <ifContains_>{{WikiProject Fashion</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{architecture</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|architecture</with_>
        <ifContains_>{{architecture</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{ScoutingWikiProject</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|Scouting and Guiding</with_>
        <ifContains_>{{ScoutingWikiProject</ifContains_>
        <ifNotContains_>{{reqphoto(.*?)Scouting and Guiding(.*?)}}</ifNotContains_>
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Organizations</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|Organizations</with_>
        <ifContains_>{{WikiProject Organizations</ifContains_>
        <ifNotContains_>{{reqphoto(.*?)Organizations(.*?)}}</ifNotContains_>
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>{{WikiProject Shopping Centers</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{reqphoto|shopping centers</with_>
        <ifContains_>{{WikiProject Shopping Centers</ifContains_>
        <ifNotContains_>{{reqphoto(.*?)shopping centers(.*?)}}</ifNotContains_>
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>false</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
        </Children>
        <Name>WPBiography</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{(WikiProject Biography|WP Biography|WPBiography|WPBIO|bio|WP Bio)</replace_>
        <with_>{{WikiProject Biography|needs-photo=yes</with_>
        <ifContains_>(WikiProject Biography|WP Biography|WPBiography|WPBIO|bio|WP Bio)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_>{{reqphoto|musicians}}</with_>
            <ifContains_ />
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
        </Children>
        <Name>Christianmusic</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{(Christianmusic)</replace_>
        <with_>{{Christianmusic|needs-photo=yes</with_>
        <ifContains_>(WikiProject Biography|WP Biography|WPBiography|WPBIO)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>None</regexOptions_>
          </IRule>
        </Children>
        <Name>AARTalk WikiProject Amphibians and Reptiles</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{(WikiProject Amphibians and Reptiles|AARTalk)</replace_>
        <with_>{{WikiProject Amphibians and Reptiles|needs-photo=yes</with_>
        <ifContains_>{{(WikiProject Amphibians and Reptiles|AARTalk)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>None</regexOptions_>
          </IRule>
        </Children>
        <Name>WikiProject Animals</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{WikiProject Animals</replace_>
        <with_>{{WikiProject Animals|needs-photo=yes</with_>
        <ifContains_>WikiProject Animals</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>None</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>None</regexOptions_>
          </IRule>
        </Children>
        <Name>Mammals</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{(WikiProject Mammals|Mammal|MaTalk)</replace_>
        <with_>{{WikiProject Mammals|needs-photo=yes</with_>
        <ifContains_>{{(WikiProject Mammals|Mammal|MaTalk)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
        </Children>
        <Name>WikiProject Plants</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{(WikiProject Plants|WPPLANT)</replace_>
        <with_>{{WikiProject Plants|needs-photo=yes</with_>
        <ifContains_>(WikiProject Plants|WPPLANT)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>None</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>None</regexOptions_>
          </IRule>
        </Children>
        <Name>BirdTalk</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{BirdTalk</replace_>
        <with_>{{BirdTalk|needs-photo=yes</with_>
        <ifContains_>{{BirdTalk</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>None</regexOptions_>
          </IRule>
        </Children>
        <Name>{{Birds</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{Birds</replace_>
        <with_>{{Birds|needs-photo=yes</with_>
        <ifContains_>{{Birds</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>None</regexOptions_>
          </IRule>
        </Children>
        <Name>{{WP Birds</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{WP Birds</replace_>
        <with_>{{WP Birds|needs-photo=yes</with_>
        <ifContains_>{{WP Birds</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>None</regexOptions_>
          </IRule>
        </Children>
        <Name>{{Fishproject</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{(WikiProject Fisheries and Fishing|Fishproject|WikiProject Fishes|WikiProject Fish)</replace_>
        <with_>{{WikiProject Fisheries and Fishing|imageneeded=yes|in=|imagedetails=</with_>
        <ifContains_>{{(Fishproject|WikiProject Fishes|WikiProject Fish)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>None</regexOptions_>
          </IRule>
        </Children>
        <Name>Mountain</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{Mountain</replace_>
        <with_>{{Mountain|needs-photo=yes</with_>
        <ifContains_>Mountain</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>None</regexOptions_>
          </IRule>
        </Children>
        <Name>WikiProject Micro</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{WikiProject Micro</replace_>
        <with_>{{WikiProject Micro|needs-photo=yes</with_>
        <ifContains_>WikiProject Micro|</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>None</regexOptions_>
          </IRule>
        </Children>
        <Name>{{Biology</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{(Biology|WikiProject Biology)</replace_>
        <with_>{{WikiProject Biology|needs-photo=yes</with_>
        <ifContains_>{{(Biology|WikiProject Biology)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>None</regexOptions_>
          </IRule>
        </Children>
        <Name>{{chemistry</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{chemistry</replace_>
        <with_>{{chemistry|needs-picture=yes</with_>
        <ifContains_>{{chemistry</ifContains_>
        <ifNotContains_ />
        <regex_>false</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>None</regexOptions_>
          </IRule>
        </Children>
        <Name>{{PrimateTalk</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{PrimateTalk</replace_>
        <with_>{{PrimateTalk|needs-photo=yes</with_>
        <ifContains_>PrimateTalk</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>None</regexOptions_>
          </IRule>
        </Children>
        <Name>Electronic-music-project</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{Electronic-music-project</replace_>
        <with_>{{Electronic-music-project|needs-photo=yes</with_>
        <ifContains_>Electronic-music-project</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>None</regexOptions_>
          </IRule>
        </Children>
        <Name>ice hockey2</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{(WikiProject Ice Hockey|ice hockey)</replace_>
        <with_>{{WikiProject Ice Hockey|needs-photo=yes</with_>
        <ifContains_>{{(ice hockey|WikiProject Ice Hockey)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>None</regexOptions_>
          </IRule>
        </Children>
        <Name>WikiProject Rugby union</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{(WikiProject Rugby union)</replace_>
        <with_>{{WikiProject Rugby union|needs-photo=yes</with_>
        <ifContains_>{{(WikiProject Rugby union)</ifContains_>
        <ifNotContains_>{{WikiProject Rugby union(.*?)needs-photo=yes(.*?)}}</ifNotContains_>
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>None</regexOptions_>
          </IRule>
        </Children>
        <Name>{{TrainsWikiProject</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{(TrainsWikiProject|WikiProject Trains)</replace_>
        <with_>{{WikiProject Trains|imageneeded=yes</with_>
        <ifContains_>{{(TrainsWikiProject|WikiProject Trains)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>false</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>None</regexOptions_>
          </IRule>
        </Children>
        <Name>{{WPAVIATION</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{(WPAVIATION|WikiProject Aviation)</replace_>
        <with_>{{WikiProject Aviation|Imageneeded=yes</with_>
        <ifContains_>{{(WPAVIATION|WikiProject Aviation)</ifContains_>
        <ifNotContains_>{{WikiProject Aviation(.*?)Imageneeded=yes(.*?)}}</ifNotContains_>
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
        </Children>
        <Name>{{Comicsproj</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{Comicsproj</replace_>
        <with_>{{Comicsproj|image=yes</with_>
        <ifContains_>{{Comicsproj</ifContains_>
        <ifNotContains_ />
        <regex_>false</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
        </Children>
        <Name>{{vgproj WikiProject Video games</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{(vgproj|WikiProject Video games)</replace_>
        <with_>{{WikiProject Video games|screenshot=yes|cover=yes</with_>
        <ifContains_>{{(vgproj|WikiProject Video games)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
        </Children>
        <Name>{{cvgproj</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{(cvgproj)</replace_>
        <with_>{{cvgproj|screenshot=yes|cover=yes</with_>
        <ifContains_>{{(vgproj|cvgproj)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
        </Children>
        <Name>{{TWP</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{TWP</replace_>
        <with_>{{TrainsWikiProject|imageneeded=yes</with_>
        <ifContains_>{{TWP</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
        </Children>
        <Name>{{WikiProject Industrial design</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{(WikiProject Industrial design)</replace_>
        <with_>{{WikiProject Industrial design|needs-image=yes</with_>
        <ifContains_>{{(WikiProject Industrial design)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
        </Children>
        <Name>{{WPAstronomy</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{(WPAstronomy|WikiProject Astronomy|astronomy)</replace_>
        <with_>{{WikiProject Astronomy|needs-image=yes</with_>
        <ifContains_>{{(WPAstronomy|WikiProject Astronomy|astronomy)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
        </Children>
        <Name>WikiProject Computer Science</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{(WikiProject Computer Science|WikiProject Information Technology)</replace_>
        <with_>{{WikiProject Computing Science||needs-image=yes</with_>
        <ifContains_>{{(WikiProject Computer Science|WikiProject Information Technology)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
        </Children>
        <Name>WikiProject Computing</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{(WikiProject Computing|Computers|WP Computing)</replace_>
        <with_>{{WikiProject Computing|needs-image=yes</with_>
        <ifContains_>{{(WikiProject Computing|Computers|WP Computing)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
        </Children>
        <Name>Films</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{(FilmsWikiProject|WPFilms|Film|WikiProject Film)</replace_>
        <with_>{{WikiProject Film|needs-image=yes</with_>
        <ifContains_>{{(FilmsWikiProject|WPFilms|Film||WikiProject Film)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children>
          <IRule xsi:type="Rule">
            <enabled_>true</enabled_>
            <Children />
            <Name>rp</Name>
            <ruletype_>OnWholePage</ruletype_>
            <replace_>{{reqphoto}}</replace_>
            <with_ />
            <ifContains_ />
            <ifNotContains_ />
            <regex_>true</regex_>
            <ifIsRegex_>false</ifIsRegex_>
            <numoftimes_>1</numoftimes_>
            <ifRegexOptions_>None</ifRegexOptions_>
            <regexOptions_>IgnoreCase</regexOptions_>
          </IRule>
        </Children>
        <Name>India</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{(WP India|WPIndia|WikiProject India)\|</replace_>
        <with_>{{WikiProject India|image-needed=yes|</with_>
        <ifContains_>{{(WP India|WPIndia|WikiProject India)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>Skyscrapers</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{(Skyscrapers|WikiProject Skyscrapers)</replace_>
        <with_>{{WikiProject Skyscrapers|Imageneeded=yes</with_>
        <ifContains_>{{(Skyscrapers|WikiProject Skyscrapers)</ifContains_>
        <ifNotContains_ />
        <regex_>true</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>us mil hist</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>military history|in=the United States</replace_>
        <with_>the United States military history</with_>
        <ifContains_>military history|in=the United States</ifContains_>
        <ifNotContains_>the United States military history</ifNotContains_>
        <regex_>false</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>people of</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>|in=</replace_>
        <with_>|people of </with_>
        <ifContains_>{{(WikiProject Biography)</ifContains_>
        <ifNotContains_ />
        <regex_>false</regex_>
        <ifIsRegex_>true</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
      <IRule xsi:type="Rule">
        <enabled_>true</enabled_>
        <Children />
        <Name>image requested</Name>
        <ruletype_>OnWholePage</ruletype_>
        <replace_>{{reqphoto</replace_>
        <with_>{{Image requested</with_>
        <ifContains_>{{reqphoto</ifContains_>
        <ifNotContains_ />
        <regex_>false</regex_>
        <ifIsRegex_>false</ifIsRegex_>
        <numoftimes_>1</numoftimes_>
        <ifRegexOptions_>IgnoreCase</ifRegexOptions_>
        <regexOptions_>IgnoreCase</regexOptions_>
      </IRule>
    </AdvancedReps>
    <SubstTemplates />
    <IncludeComments>false</IncludeComments>
    <ExpandRecursively>false</ExpandRecursively>
    <IgnoreUnformatted>true</IgnoreUnformatted>
  </FindAndReplace>
  <Editprefs>
    <GeneralFixes>false</GeneralFixes>
    <Tagger>false</Tagger>
    <Unicodify>false</Unicodify>
    <Recategorisation>0</Recategorisation>
    <NewCategory />
    <NewCategory2 />
    <ReImage>0</ReImage>
    <ImageFind />
    <Replace />
    <SkipIfNoCatChange>false</SkipIfNoCatChange>
    <RemoveSortKey>false</RemoveSortKey>
    <SkipIfNoImgChange>false</SkipIfNoImgChange>
    <AppendText>false</AppendText>
    <AppendTextMetaDataSort>false</AppendTextMetaDataSort>
    <Append>true</Append>
    <Text />
    <Newlines>2</Newlines>
    <AutoDelay>10</AutoDelay>
    <BotMaxEdits>0</BotMaxEdits>
    <SupressTag>false</SupressTag>
    <RegexTypoFix>true</RegexTypoFix>
  </Editprefs>
  <General>
    <AutoSaveEdit>
      <Enabled>false</Enabled>
      <SavePeriod>60</SavePeriod>
      <SaveFile>D:\Program Files\AutoWikiBrowser4142\Edit Box.txt</SaveFile>
    </AutoSaveEdit>
    <SelectedSummary>refined reqphoto/need-image</SelectedSummary>
    <Summaries>
      <string>clean up</string>
      <string>re-categorisation per [[WP:CFD|CFD]]</string>
      <string>clean up and re-categorisation per [[WP:CFD|CFD]]</string>
      <string>removing category per [[WP:CFD|CFD]]</string>
      <string>[[Wikipedia:Template substitution|subst:'ing]]</string>
      <string>[[Wikipedia:WikiProject Stub sorting|stub sorting]]</string>
      <string>[[WP:AWB/T|Typo fixing]]</string>
      <string>bad link repair</string>
      <string>Fixing [[Wikipedia:Disambiguation pages with links|links to disambiguation pages]]</string>
      <string>Unicodifying</string>
      <string>refined reqphoto</string>
      <string>refined reqphoto/need-image</string>
    </Summaries>
    <PasteMore>
      <string />
      <string />
      <string />
      <string />
      <string />
      <string />
      <string />
      <string />
      <string />
      <string />
    </PasteMore>
    <FindText />
    <FindRegex>false</FindRegex>
    <FindCaseSensitive>false</FindCaseSensitive>
    <WordWrap>true</WordWrap>
    <ToolBarEnabled>false</ToolBarEnabled>
    <BypassRedirect>true</BypassRedirect>
    <AutoSaveSettings>false</AutoSaveSettings>
    <noSectionEditSummary>false</noSectionEditSummary>
    <restrictDefaultsortAddition>true</restrictDefaultsortAddition>
    <restrictOrphanTagging>false</restrictOrphanTagging>
    <noMOSComplianceFixes>false</noMOSComplianceFixes>
    <syntaxHighlightEditBox>false</syntaxHighlightEditBox>
    <highlightAllFind>false</highlightAllFind>
    <PreParseMode>false</PreParseMode>
    <NoAutoChanges>false</NoAutoChanges>
    <OnLoadAction>0</OnLoadAction>
    <DiffInBotMode>false</DiffInBotMode>
    <Minor>false</Minor>
    <AddToWatchlist>2</AddToWatchlist>
    <TimerEnabled>false</TimerEnabled>
    <SortListAlphabetically>false</SortListAlphabetically>
    <AddIgnoredToLog>false</AddIgnoredToLog>
    <EditToolbarEnabled>true</EditToolbarEnabled>
    <filterNonMainSpace>false</filterNonMainSpace>
    <AutoFilterDuplicates>false</AutoFilterDuplicates>
    <FocusAtEndOfEditBox>false</FocusAtEndOfEditBox>
    <scrollToUnbalancedBrackets>false</scrollToUnbalancedBrackets>
    <TextBoxSize>10</TextBoxSize>
    <TextBoxFont>Courier New</TextBoxFont>
    <LowThreadPriority>false</LowThreadPriority>
    <Beep>false</Beep>
    <Flash>false</Flash>
    <Minimize>false</Minimize>
    <LockSummary>false</LockSummary>
    <SaveArticleList>false</SaveArticleList>
    <SuppressUsingAWB>false</SuppressUsingAWB>
    <AddUsingAWBToActionSummaries>false</AddUsingAWBToActionSummaries>
    <IgnoreNoBots>false</IgnoreNoBots>
    <ClearPageListOnProjectChange>false</ClearPageListOnProjectChange>
    <SortInterWikiOrder>true</SortInterWikiOrder>
    <ReplaceReferenceTags>true</ReplaceReferenceTags>
    <LoggingEnabled>true</LoggingEnabled>
  </General>
  <SkipOptions>
    <SkipNonexistent>true</SkipNonexistent>
    <Skipexistent>false</Skipexistent>
    <SkipWhenNoChanges>false</SkipWhenNoChanges>
    <SkipSpamFilterBlocked>false</SkipSpamFilterBlocked>
    <SkipInuse>false</SkipInuse>
    <SkipWhenOnlyWhitespaceChanged>false</SkipWhenOnlyWhitespaceChanged>
    <SkipOnlyGeneralFixChanges>true</SkipOnlyGeneralFixChanges>
    <SkipOnlyMinorGeneralFixChanges>false</SkipOnlyMinorGeneralFixChanges>
    <SkipOnlyCasingChanged>false</SkipOnlyCasingChanged>
    <SkipIfRedirect>false</SkipIfRedirect>
    <SkipIfNoAlerts>false</SkipIfNoAlerts>
    <SkipDoes>false</SkipDoes>
    <SkipDoesNot>false</SkipDoesNot>
    <SkipDoesText />
    <SkipDoesNotText />
    <Regex>false</Regex>
    <CaseSensitive>false</CaseSensitive>
    <AfterProcessing>false</AfterProcessing>
    <SkipNoFindAndReplace>true</SkipNoFindAndReplace>
    <SkipMinorFindAndReplace>false</SkipMinorFindAndReplace>
    <SkipNoRegexTypoFix>false</SkipNoRegexTypoFix>
    <SkipNoDisambiguation>false</SkipNoDisambiguation>
    <SkipNoLinksOnPage>false</SkipNoLinksOnPage>
    <GeneralSkipList />
  </SkipOptions>
  <Module>
    <Enabled>true</Enabled>
    <Language>C# 2.0</Language>
    <Code>public string ProcessArticle(string ArticleText, string ArticleTitle, int wikiNamespace, out string Summary, out bool Skip)
 {
  Skip = false;
  Summary = "";
//WikiProject (Active projects); Cleanup redirects
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(Canada[ _]+Roads[ _]+WikiProject|CRWP|WikiProject[ _]+Canada[ _]+Roads)\s*([\|}{&lt;\n])", "{{Canada Roads WikiProject$2", RegexOptions.IgnoreCase);
  //ArticleText = Regex.Replace(ArticleText, @"{{\s*(Maths[ _]+rating|Mathrating|Math[ _]+rating|Maths[ _]+rating[ _]+small|Maths)\s*([\|}{&lt;\n])", "{{Maths rating$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(U\.S\.[ _]+Roads[ _]+WikiProject|USRD|US[ _]+Roads[ _]+WikiProject)\s*([\|}{&lt;\n])", "{{U.S. Roads WikiProject$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+24|24[ _]+Wikiproject|Wikiproject[ _]+24)\s*([\|}{&lt;\n])", "{{WikiProject 24$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Archives[ _]+of[ _]+American[ _]+Art|WPAAA|WikiProject[ _]+AAA)\s*([\|}{&lt;\n])", "{{WikiProject Archives of American Art$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Abortion|WPAbortion|WPAbortion\-category|WPAbortion\-image|WPAbortion\-template)\s*([\|}{&lt;\n])", "{{WikiProject Abortion$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Academic[ _]+Journals|WP[ _]+Journals|WPJournals|WikiProject[ _]+Academic[ _]+journals|WikiProject[ _]+Journals)\s*([\|}{&lt;\n])", "{{WikiProject Academic Journals$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Accessibility|Wikiproject[ _]+Accessibility)\s*([\|}{&lt;\n])", "{{WikiProject Accessibility$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Adelaide|WPANotice)\s*([\|}{&lt;\n])", "{{WikiProject Adelaide$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Adoption,[ _]+fostering,[ _]+orphan[ _]+care[ _]+and[ _]+displacement|WP[ _]+AFOD|WP[ _]+OAR|WPAFOD|WPO\&amp;F|WikiProject[ _]+Orphans[ _]+and[ _]+Foundlings)\s*([\|}{&lt;\n])", "{{WikiProject Adoption, fostering, orphan care and displacement$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Aerosmith|WPAERO|AERO)\s*([\|}{&lt;\n])", "{{WikiProject Aerosmith$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Afghanistan|WPAFGHAN|WPAFGHANISTAN|WP[ _]+Afghanistan)\s*([\|}{&lt;\n])", "{{WikiProject Afghanistan$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Africa|Africa[ _]+Project|Africa[ _]+noticeboard|AfricaProject|WPAFRICA|WPAfrica|WP[ _]+Africa)\s*([\|}{&lt;\n])", "{{WikiProject Africa$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+African[ _]+diaspora|AFRO|Project[ _]+afro|WPAD|WPAFRICANDIASPORA|WPAFRO|WikiProject[ _]+African[ _]+Diaspora)\s*([\|}{&lt;\n])", "{{WikiProject African diaspora$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Agriculture|WP[ _]+Farm[ _]+Animal|WPAgriculture|WPFARM|WPFarm|WikiProject[ _]+Beekeeping)\s*([\|}{&lt;\n])", "{{WikiProject Agriculture$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Aids|Aids)\s*([\|}{&lt;\n])", "{{WikiProject Aids$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Airsoft|WikiAirsoft)\s*([\|}{&lt;\n])", "{{WikiProject Airsoft$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Alabama|WPAlabama|WPALABAMA)\s*([\|}{&lt;\n])", "{{WikiProject Alabama$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Åland[ _]+Islands|WikiProject[ _]+Aland[ _]+Islands)\s*([\|}{&lt;\n])", "{{WikiProject Åland Islands$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Alaska|WPALASKA|Project[ _]+Alaska|WP[ _]+Alaska)\s*([\|}{&lt;\n])", "{{WikiProject Alaska$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Albania|WPALBANIA|WikiProject[ _]+Albania|WPALB|Wikiproject[ _]+Albania|WPSQ)\s*([\|}{&lt;\n])", "{{WikiProject Albania$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Albums|Albums|WP[ _]+Albums|WPAlbums|Album)\s*([\|}{&lt;\n])", "{{WikiProject Albums$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Algae|WP[ _]+Algae)\s*([\|}{&lt;\n])", "{{WikiProject Algae$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Algeria|WP[ _]+Algeria|WPALGERIA)\s*([\|}{&lt;\n])", "{{WikiProject Algeria$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Alien|AlienProject)\s*([\|}{&lt;\n])", "{{WikiProject Alien$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Alternate[ _]+History|Alternate[ _]+History[ _]+WikiProject)\s*([\|}{&lt;\n])", "{{WikiProject Alternate History$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Alternative[ _]+education|WikiProject[ _]+Alternative[ _]+Education)\s*([\|}{&lt;\n])", "{{WikiProject Alternative education$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Alternative[ _]+medicine|WikiProject[ _]+Alternative[ _]+Medicine|WPALTMED|Wpaltmed)\s*([\|}{&lt;\n])", "{{WikiProject Alternative medicine$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Alternative[ _]+music|Altrock|WP[ _]+Alternative[ _]+music|WPAlternative|WikiProject[ _]+Alternative[ _]+Music|WikiProject[ _]+Alternative[ _]+rock|Wikiproject[ _]+Alternative[ _]+Music|Wikiproject[ _]+Alternative[ _]+music)\s*([\|}{&lt;\n])", "{{WikiProject Alternative music$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Amateur[ _]+radio|WP[ _]+Amateur[ _]+Radio|WPHAM|WikiProject[ _]+Amateur[ _]+Radio|Wikiproject[ _]+Amateur[ _]+Radio)\s*([\|}{&lt;\n])", "{{WikiProject Amateur radio$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+American[ _]+Football[ _]+League|American[ _]+Football[ _]+League[ _]+project)\s*([\|}{&lt;\n])", "{{WikiProject American Football League$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+American[ _]+football|WP[ _]+American[ _]+Football|WPAmerican[ _]+Football|WPAmericanFootball|American[ _]+football|WikiProject[ _]+American[ _]+Football)\s*([\|}{&lt;\n])", "{{WikiProject American football$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+American[ _]+Open[ _]+Wheel[ _]+Racing|Open[ _]+Wheel)\s*([\|}{&lt;\n])", "{{WikiProject American Open Wheel Racing$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Amphibians[ _]+and[ _]+Reptiles|AARTalk)\s*([\|}{&lt;\n])", "{{WikiProject Amphibians and Reptiles$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Amusement[ _]+ Parks|AmusementParkProject|AmusementParksProject|WikiProject[ _]+Amusement[ _]+parks|WikiProject[ _]+amusement[ _]+park)\s*([\|}{&lt;\n])", "{{WikiProject Amusement Parks$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Anatomy|WPAN)\s*([\|}{&lt;\n])", "{{WikiProject Anatomy$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Ancient[ _]+Egypt|WikiProject[ _]+Egyptian[ _]+Religion|KMTbanner|ANEGY|AncientEgyptBanner)\s*([\|}{&lt;\n])", "{{WikiProject Ancient Egypt$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Ancient[ _]+Germanic[ _]+studies|WPAGS)\s*([\|}{&lt;\n])", "{{WikiProject Ancient Germanic studies$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Ancient[ _]+Near[ _]+East|WP[ _]+ANE|WP[ _]+Ancient[ _]+Near[ _]+East|WPANE)\s*([\|}{&lt;\n])", "{{WikiProject Ancient Near East$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Andorra)\s*([\|}{&lt;\n])", "{{WikiProject  European Microstate|Andorra=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Anglicanism|Anglicanismproject)\s*([\|}{&lt;\n])", "{{WikiProject Anglicanism$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Anglo-Saxon[ _]+Kingdoms|WPASK)\s*([\|}{&lt;\n])", "{{WikiProject Anglo-Saxon Kingdoms$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Angola)\s*([\|}{&lt;\n])", "{{WikiProject Africa|Angola=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Animal[ _]+rights|WPAR|Wiki[ _]+Project[ _]+Animal[ _]+Rights|WikiProject[ _]+Animal[ _]+Rights|Wikiproject[ _]+animal[ _]+rights)\s*([\|}{&lt;\n])", "{{WikiProject Animal rights$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Animals|Animal|Animals|WP[ _]+Animals|WP[ _]+Zoology|WPANIMAL|WikiProject[ _]+Zoology)\s*([\|}{&lt;\n])", "{{WikiProject Animals$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Animation|USAnimation|WikiProject[ _]+American[ _]+Animation|WikiProject[ _]+Web[ _]+Animation|WikiProject[ _]+Web[ _]+Animation[ _]+Author)\s*([\|}{&lt;\n])", "{{WikiProject Animation$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Anime[ _]+and[ _]+manga|WP[ _]+anime[ _]+and[ _]+manga|WPANIMANGA|WPANIME|WPAnime|WPMANGA|WPManga|WikiProject[ _]+Animanga|WikiProject[ _]+Anime|WikiProject[ _]+Anime[ _]+and[ _]+Manga|WikiProject[ _]+Manga|WikiProject[ _]+Manga[ _]+and[ _]+anime|WikiProject[ _]+anime[ _]+and[ _]+manga|Wikiproject[ _]+Anime[ _]+and[ _]+Manga|Wikiproject[ _]+Anime[ _]+and[ _]+manga|Wikiproject[ _]+anime[ _]+and[ _]+manga)\s*([\|}{&lt;\n])", "{{WikiProject Anime and manga$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Antarctica|WP[ _]+Antarctica)\s*([\|}{&lt;\n])", "{{WikiProject Antarctica$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Anthropology|WPAnthro|WP[ _]+Anthropology)\s*([\|}{&lt;\n])", "{{WikiProject Anthropology$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Anthroponymy|WPNAMES|Anthroponymy)\s*([\|}{&lt;\n])", "{{WikiProject Anthroponymy$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Appalachia|AppalachiaProject)\s*([\|}{&lt;\n])", "{{WikiProject Appalachia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Apple[ _]+Inc\.|MacProjectArticle|Macproj|Macprojectarticle|WP[ _]+Apple|WP[ _]+Apple[ _]+Inc\.|WikiProject[ _]+Apple|WikiProject[ _]+Mac|WikiProject[ _]+Macintosh)\s*([\|}{&lt;\n])", "{{WikiProject Apple Inc.$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Aqua[ _]+Teen[ _]+Hunger[ _]+Force[ _]+task[ _]+force|WikiProject[ _]+Aqua[ _]+Teen[ _]+Hunger[ _]+Force|WikiProject[ _]+ATHF)\s*([\|}{&lt;\n])", "{{WikiProject Aqua Teen Hunger Force task force$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Aquarium[ _]+Fishes|WikiProject[ _]+aquarium[ _]+fishes)\s*([\|}{&lt;\n])", "{{WikiProject Aquarium Fishes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Aquatic[ _]+Invertebrates|WikiprojectAquaticInverts|WikiProject[ _]+AquaticInverts)\s*([\|}{&lt;\n])", "{{WikiProject Aquatic Invertebrates$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Arab[ _]+world|WPARAB)\s*([\|}{&lt;\n])", "{{WikiProject Arab world$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Archaeology|ArchaeologyWikiProject|ArcheologyWikiProject|WP[ _]+Archaeology|WP[ _]+Archeology|WikiProject[ _]+Archeology)\s*([\|}{&lt;\n])", "{{WikiProject Archaeology$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Architecture|Architecture|WP[ _]+Architecture|WikiProject[ _]+Buildings)\s*([\|}{&lt;\n])", "{{WikiProject Architecture$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Arctic|WPARCTIC)\s*([\|}{&lt;\n])", "{{WikiProject Arctic$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Arena[ _]+Football[ _]+League|Wikipedia:Wikiproject[ _]+Arena[ _]+Football[ _]+League|Wikiproject[ _]+Arena[ _]+Football[ _]+League)\s*([\|}{&lt;\n])", "{{WikiProject Arena Football League$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Argentina|WPARGENTINA|WP[ _]+Argentina|WPArgentina|WPArg|Argentina)\s*([\|}{&lt;\n])", "{{WikiProject Argentina$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Arizona|WPARIZONA|WP[ _]+Arizona)\s*([\|}{&lt;\n])", "{{WikiProject Arizona$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Arkansas|WikiProject[ _]+Arkansas[ _]+category|WPARKANSAS|WP[ _]+Arkansas)\s*([\|}{&lt;\n])", "{{WikiProject Arkansas$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Armenia|WPARMENIA|WPNK|WPAM)\s*([\|}{&lt;\n])", "{{WikiProject Armenia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Arrested[ _]+Development[ _]+Taskforce|AD[ _]+Taskforce)\s*([\|}{&lt;\n])", "{{WikiProject Arrested Development Taskforce$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Artemis[ _]+Fowl|WPArtemisFowl)\s*([\|}{&lt;\n])", "{{WikiProject Artemis Fowl$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Arthropods|Arth|WPARTH|WP[ _]+Arthropods|ArthropodTalk)\s*([\|}{&lt;\n])", "{{WikiProject Arthropods$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Article[ _]+Collaboration[ _]+and[ _]+Improvement[ _]+Drive|ACIDcur\/article)\s*([\|}{&lt;\n])", "{{WikiProject Article Collaboration and Improvement Drive$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Articles[ _]+for[ _]+creation|WPAFC|WPFFU|WikiProject[ _]+Articles[ _]+for[ _]+Creation)\s*([\|}{&lt;\n])", "{{WikiProject Articles for creation$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Assam|WPASM)\s*([\|}{&lt;\n])", "{{WikiProject Assam$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Assyria|WPAP)\s*([\|}{&lt;\n])", "{{WikiProject Assyria$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Astrology|WikiProject[ _]+astrology|Astrology[ _]+project)\s*([\|}{&lt;\n])", "{{WikiProject Astrology$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Astronomy|Astronomy|WP[ _]+Astronomy|WPAST|WPASTRONOMY|WPAstronomy|WPTFConstel)\s*([\|}{&lt;\n])", "{{WikiProject Astronomy$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Atheism|WPATH|WPA|Wpa|WP[ _]+Atheism)\s*([\|}{&lt;\n])", "{{WikiProject Atheism$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Athletics|WP[ _]+Athletics|WPAtheletics|WPAthletics)\s*([\|}{&lt;\n])", "{{WikiProject Athletics$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Atlantic[ _]+Coast[ _]+Conference|WikiProject[ _]+ACC)\s*([\|}{&lt;\n])", "{{WikiProject Atlantic Coast Conference$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Auckland|WikiProject[ _]+Auckland[ _]+banner|Auckland|AUCK)\s*([\|}{&lt;\n])", "{{WikiProject Auckland$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Austin|WPAustin)\s*([\|}{&lt;\n])", "{{WikiProject Austin$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Australia|WP[ _]+Australia|WP[ _]+Australian[ _]+music|WPAUS|WPAUSTRALIA|WPAustralia)\s*([\|}{&lt;\n])", "{{WikiProject Australia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Australian[ _]+law|WPAL)\s*([\|}{&lt;\n])", "{{WikiProject Australian law$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Austria|Wikiproject[ _]+Austria|WPAUSTRIA|WP[ _]+Austria|Wpau)\s*([\|}{&lt;\n])", "{{WikiProject Austria$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Automobiles|Auto|AutoProject|AutomobileWatch|WP[ _]+Auto|WP[ _]+Automobiles|WP[ _]+Cars|WPAUTO|WPAUTOMOBILES|WPAuto|WPCARS|WPCars|WikiProject[ _]+Cars)\s*([\|}{&lt;\n])", "{{WikiProject Automobiles$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Aviation|AirlineProject|AircraftProject|WPAviation|WP[ _]+Aviation|WikiProject[ _]+Aircraft|WPAVIATION)\s*([\|}{&lt;\n])", "{{WikiProject Aviation$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Awards[ _]+and[ _]+prizes|WikiProject[ _]+Awards|WP[ _]+Awards)\s*([\|}{&lt;\n])", "{{WikiProject Awards and prizes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Azerbaijan|WP[ _]+Azerbaijan)\s*([\|}{&lt;\n])", "{{WikiProject Azerbaijan$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Babylon[ _]+5|Babylon[ _]+5project)\s*([\|}{&lt;\n])", "{{WikiProject Babylon 5$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Backpacking|BackpackingProject)\s*([\|}{&lt;\n])", "{{WikiProject Backpacking$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Bahá'í[ _]+Faith|WikiProject[ _]+Bahai[ _]+Faith|WPBF)\s*([\|}{&lt;\n])", "{{WikiProject Bahá'í Faith$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Bahrain|WP[ _]+Bahrain)\s*([\|}{&lt;\n])", "{{WikiProject Bahrain$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Ballet|WikiProject[ _]+ballet|WPBallet|WP[ _]+Ballet)\s*([\|}{&lt;\n])", "{{WikiProject Ballet$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Balzac|Balzac)\s*([\|}{&lt;\n])", "{{WikiProject Balzac$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Bangladesh|WPBANGLADESH|WP[ _]+Bangladesh)\s*([\|}{&lt;\n])", "{{WikiProject Bangladesh$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Banksia|WP[ _]+Banksia)\s*([\|}{&lt;\n])", "{{WikiProject Banksia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Barack[ _]+Obama|Obama[ _]+Project)\s*([\|}{&lt;\n])", "{{WikiProject Barack Obama$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Baronetcies|Wikiproject[ _]+Baronetcies|WikiProject[ _]+baronetcy)\s*([\|}{&lt;\n])", "{{WikiProject Baronetcies$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Baseball|Baseball-WikiProject)\s*([\|}{&lt;\n])", "{{WikiProject Baseball$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Basketball|Basketball-WikiProject|WPBasketball|WP[ _]+Basketball|WPBASKET|WPHOOPS|WikiProject[ _]+basketball)\s*([\|}{&lt;\n])", "{{WikiProject Basketball$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Basque|WPBasque)\s*([\|}{&lt;\n])", "{{WikiProject Basque$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Battlestar[ _]+Galactica|WikiProjectBSG|WikiProject[ _]+BSG)\s*([\|}{&lt;\n])", "{{WikiProject Battlestar Galactica$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+BBC|BBCProject|BBCproject)\s*([\|}{&lt;\n])", "{{WikiProject BBC$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Beauty[ _]+Pageants|WikiProject[ _]+Beauty[ _]+pageants)\s*([\|}{&lt;\n])", "{{WikiProject Beauty Pageants$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Beer|WPBEER|Beer|TaskForce[ _]+Pubs)\s*([\|}{&lt;\n])", "{{WikiProject Beer$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Belarus|WPBELARUS|WPBelarus|WP[ _]+Belarus)\s*([\|}{&lt;\n])", "{{WikiProject Belarus$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Belfast|WP[ _]+Belfast[ _]+notice|WPBelNotice|WPBelfast|WikiProject[ _]+Belfast\-related)\s*([\|}{&lt;\n])", "{{WikiProject Belfast$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Belgium|WPBELGIUM|WPBelgium|WP[ _]+Belgium|Wpbelgium)\s*([\|}{&lt;\n])", "{{WikiProject Belgium$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Belgrade|WPBelgrade)\s*([\|}{&lt;\n])", "{{WikiProject Belgrade$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Belize)\s*([\|}{&lt;\n])", "{{WikiProject Central America|Belize=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Berbers|WPBERBER)\s*([\|}{&lt;\n])", "{{WikiProject Berbers$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Bhutan|WP[ _]+Bhutan)\s*([\|}{&lt;\n])", "{{WikiProject Bhutan$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Biathlon|WP Biathlon)\s*([\|}{&lt;\n])", "{{WikiProject Biathlon$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Bible|WikiProject[ _]+Biblical[ _]+Criticism|BibleWikiProject|Wpbible)\s*([\|}{&lt;\n])", "{{WikiProject Bible$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Big[ _]+12[ _]+Conference|WikiProject[ _]+Big[ _]+12)\s*([\|}{&lt;\n])", "{{WikiProject Big 12 Conference$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Big[ _]+Brother|Big[ _]+Brother[ _]+project)\s*([\|}{&lt;\n])", "{{WikiProject Big Brother$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Biography|WPBiography|Bio|Biography|WP[ _]+Biography|WP[ _]+Bio|Wpbiography|Wikiproject[ _]+biography|WPBio|WPbiography|WikiProject[ _]+biography|Wikiproject[ _]+biography|WikiProject[ _]+Biographies|WikiProject[ _]+Biography)\r*([\|}{&lt;\n])", "{{WikiProject Biography$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Biology|WikiProject[ _]+Entomology|WPBIOLOGY|WP[ _]+Biology|Biology)\s*([\|}{&lt;\n])", "{{WikiProject Biology$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Biota[ _]+of[ _]+Great[ _]+Britain[ _]+and[ _]+Ireland|BGBI|Biota[ _]+of[ _]+Great[ _]+Britain[ _]+and[ _]+Ireland)\s*([\|}{&lt;\n])", "{{WikiProject Biota of Great Britain and Ireland$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Birds|BirdTalk|Birds[ _]+WikiProject|Birdtalk|WP[ _]+Birds|WPBirds)\s*([\|}{&lt;\n])", "{{WikiProject Birds$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Black[ _]+Metal|Black[ _]+metal[ _]+task[ _]+force|Black[ _]+metal|BM)\s*([\|}{&lt;\n])", "{{WikiProject Black Metal$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Blu-ray|Blurayp)\s*([\|}{&lt;\n])", "{{WikiProject Blu-ray$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Board[ _]+and[ _]+table[ _]+games|BTGProject|WikiProject[ _]+Board[ _]+games)\s*([\|}{&lt;\n])", "{{WikiProject Board and table games$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Bob[ _]+Dylan|WPDylan)\s*([\|}{&lt;\n])", "{{WikiProject Bob Dylan$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Body[ _]+Modification|Wikiproject[ _]+Body[ _]+Modification)\s*([\|}{&lt;\n])", "{{WikiProject Body Modification$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Bodybuilding|Bodybuilding)\s*([\|}{&lt;\n])", "{{WikiProject Bodybuilding$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Bolivia|WPBOLIVIA)\s*([\|}{&lt;\n])", "{{WikiProject Bolivia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Books|Books|WP[ _]+Books|WikiProject[ _]+Book|WikiProject[ _]+books|WPbook|WPbooks|WPBooks)\s*([\|}{&lt;\n])", "{{WikiProject Books$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Bosnia[ _]+and[ _]+Herzegovina|WikiProject[ _]+Bosnia|Bosnia[ _]+and[ _]+Herzegovina)\s*([\|}{&lt;\n])", "{{WikiProject Bosnia and Herzegovina$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Boston|WPBOSTON|WPBoston|Project[ _]+Boston)\s*([\|}{&lt;\n])", "{{WikiProject Boston$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Botswana)\s*([\|}{&lt;\n])", "{{WikiProject Africa|Botswana=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Boxing|WPBoxing|WP[ _]+Boxing|WikiProjectBoxing)\s*([\|}{&lt;\n])", "{{WikiProject Boxing$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Bradford|BradProject)\s*([\|}{&lt;\n])", "{{WikiProject Bradford$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Brazil|WPBRAZIL|WP[ _]+Brazil|WPBrazil)\s*([\|}{&lt;\n])", "{{WikiProject Brazil$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Bridges|WP[ _]+Bridges|WikiProject[ _]+Bridge|WikiProject[ _]+Bridges[ _]+article)\s*([\|}{&lt;\n])", "{{WikiProject Bridges$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Brigham[ _]+Young[ _]+University|WPBYU[ _]+people|WPBYU)\s*([\|}{&lt;\n])", "{{WikiProject Brigham Young University$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Brighton|WikiProject[ _]+Brighton/Talkpage)\s*([\|}{&lt;\n])", "{{WikiProject Brighton$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Bristol|Bristol[ _]+WP)\s*([\|}{&lt;\n])", "{{WikiProject Bristol$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+British[ _]+and[ _]+Irish[ _]+hills|WPBH|BIhills)\s*([\|}{&lt;\n])", "{{WikiProject British and Irish hills$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+British[ _]+crime|Uk-crime|WP[ _]+British[ _]+crime)\s*([\|}{&lt;\n])", "{{WikiProject British crime$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+British[ _]+Motorsport|British[ _]+Motorsport|WikiProject[ _]+British[ _]+motorsport)\s*([\|}{&lt;\n])", "{{WikiProject British Motorsport$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+British[ _]+Museum|BM-related)\s*([\|}{&lt;\n])", "{{WikiProject British Museum$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+British[ _]+Royalty|WikiProject[ _]+British[ _]+royalty)\s*([\|}{&lt;\n])", "{{WikiProject British Royalty$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+British[ _]+TV[ _]+channels|British[ _]+TV[ _]+channels[ _]+project)\s*([\|}{&lt;\n])", "{{WikiProject British TV channels$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+British[ _]+TV[ _]+shows|British[ _]+TV[ _]+shows[ _]+project)\s*([\|}{&lt;\n])", "{{WikiProject British TV shows$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Buckinghamshire|WPBUCKS)\s*([\|}{&lt;\n])", "{{WikiProject Buckinghamshire$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Buddhism|WPBUDDHISM)\s*([\|}{&lt;\n])", "{{WikiProject Buddhism$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Buffyverse|Whedonverse|Buffyverse)\s*([\|}{&lt;\n])", "{{WikiProject Buffyverse$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Bulgaria|Bulgaria[ _]+project|WP[ _]+Bulgaria|WPBG|WPBULGARIA|WPBulgaria)\s*([\|}{&lt;\n])", "{{WikiProject Bulgaria$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Burkina[ _]+Faso)\s*([\|}{&lt;\n])", "{{WikiProject Africa|Burkina Faso=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Burundi)\s*([\|}{&lt;\n])", "{{WikiProject Africa|Burundi=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Buses|WP[ _]+bus|WP[ _]+buses|WPBUS|WikiProject[ _]+buses)\s*([\|}{&lt;\n])", "{{WikiProject Buses$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Business|Bus\&amp;Econ|Business|WP[ _]+Business|WPBE|WPBUSINESS|WikiProject[ _]+Business[ _]+\&amp;[ _]+Economics|WikiProject[ _]+Business[ _]+and[ _]+Economics|WikiProject[ _]+Business[ _]+and[ _]+economics)\s*([\|}{&lt;\n])", "{{WikiProject Business$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Cal[ _]+Poly[ _]+Pomona|WPCPP|WPCPP[ _]+people)\s*([\|}{&lt;\n])", "{{WikiProject Cal Poly Pomona$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+California[ _]+State[ _]+University|WPCSU[ _]+people|WPCSU)\s*([\|}{&lt;\n])", "{{WikiProject California State University$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+California|WikiProject[ _]+Southern[ _]+California|CWP|WPSC|WPCALIFORNIA|WPCA|WPSOCAL|WP[ _]+California|WikiProject[ _]+Inland[ _]+Empire|WBIE|WikiProject[ _]+Los[ _]+Angeles|WPLA|WPCalifornia|Wikiproject[ _]+California)\s*([\|}{&lt;\n])", "{{WikiProject California$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Calvinism|WPCalvinism/Article[ _]+Scope)\s*([\|}{&lt;\n])", "{{WikiProject Calvinism$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Cambodia|WPCAMBODIA|WP[ _]+Cambodia)\s*([\|}{&lt;\n])", "{{WikiProject Cambodia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Cameroon)\s*([\|}{&lt;\n])", "{{WikiProject Africa|Cameroon=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Canada|WP[ _]+British[ _]+Columbia|WP[ _]+Canada|WP[ _]+Ontario|WP[ _]+Quebec|WP[ _]+Toronto|WPCANADA|WPCanada|WPEIC\-cat|WikiProject[ _]+British[ _]+Columbia|WikiProject[ _]+Ontario)\s*([\|}{&lt;\n])", "{{WikiProject Canada$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Canadian[ _]+football|WPCFL)\s*([\|}{&lt;\n])", "{{WikiProject Canadian football$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Cannabis|WPCannabis)\s*([\|}{&lt;\n])", "{{WikiProject Cannabis$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Cape[ _]+Cod[ _]+and[ _]+the[ _]+Islands|Project[ _]+Cape[ _]+Cod|Wiki[ _]+Project[ _]+Cape[ _]+Cod|Wiki[ _]+Project[ _]+Cape[ _]+Cod[ _]+and[ _]+the[ _]+Islands)\s*([\|}{&lt;\n])", "{{WikiProject Cape Cod and the Islands$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Cape[ _]+Verde|Wikiproject[ _]+Cape[ _]+Verde|WPCV|WP[ _]+Cape[ _]+Verde)\s*([\|}{&lt;\n])", "{{WikiProject Cape Verde$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Capital[ _]+District|WPCapitalDistrict)\s*([\|}{&lt;\n])", "{{WikiProject Capital District$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Cardiff|WPCARDIFF)\s*([\|}{&lt;\n])", "{{WikiProject Cardiff$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Caribbean|WP[ _]+Caribbean|WP[ _]+DR|WPCARIBBEAN|WPCarribean|WPJamaica|WikiProject[ _]+Antigua[ _]+and[ _]+Barbuda|WikiProject[ _]+Dominican[ _]+Republic|WikiProject[ _]+Jamaica|WikiProject[ _]+Aruba|WikiProject[ _]+Bahamas|WikiProject[ _]+Haiti|WikiProject[ _]+Martinique|WikiProject[ _]+Trinidad)\s*([\|}{&lt;\n])", "{{WikiProject Caribbean$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Carnivorous[ _]+plants|Carnivorous[ _]+Plants)\s*([\|}{&lt;\n])", "{{WikiProject Carnivorous plants$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Cartoon[ _]+Network|TOON|Cartoon[ _]+Network|WPCN)\s*([\|}{&lt;\n])", "{{WikiProject Cartoon Network$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Catalan-speaking[ _]+Countries|WPCATALAN|WPCATALONIA|WikiProject[ _]+Catalan\-speaker|WikiProject[ _]+Catalonia)\s*([\|}{&lt;\n])", "{{WikiProject Catalan-speaking Countries$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Category[ _]+Suppression|WPCATSUP|WikiProject[ _]+Category[ _]+suppression)\s*([\|}{&lt;\n])", "{{WikiProject Category Suppression$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Catholicism|WP[ _]+Catholicism|WPCatholicism|Catholicism|Wikiproject[ _]+Catholicism|WikiProject[ _]+Roman[ _]+Catholicism|Project[ _]+Catholicism)\s*([\|}{&lt;\n])", "{{WikiProject Catholicism$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Cats|Cats|WPCATS)\s*([\|}{&lt;\n])", "{{WikiProject Cats$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Caves|CavesProject)\s*([\|}{&lt;\n])", "{{WikiProject Caves$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Cell[ _]+Signaling|Cell[ _]+Signaling[ _]+Project)\s*([\|}{&lt;\n])", "{{WikiProject Cell Signaling$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Central[ _]+African[ _]+Republic)\s*([\|}{&lt;\n])", "{{WikiProject Africa|Central African Republic=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Central[ _]+America|WP[ _]+Central[ _]+America|WPCAMERICA)\s*([\|}{&lt;\n])", "{{WikiProject Central America$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Central[ _]+Asia|WPCASIA|WPCENTRALASIA)\s*([\|}{&lt;\n])", "{{WikiProject Central Asia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Cephalopods|WP[ _]+Cephalopods|CephalopodTalk)\s*([\|}{&lt;\n])", "{{WikiProject Cephalopods$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Cetaceans|CetaTalk|WikiProject[ _]+Cetacea)\s*([\|}{&lt;\n])", "{{WikiProject Cetaceans$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Chad)\s*([\|}{&lt;\n])", "{{WikiProject Africa|Chad=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Charts|WPCharts|WikiProject[ _]+Record[ _]+Charts)\s*([\|}{&lt;\n])", "{{WikiProject Charts$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Chemical[ _]+and[ _]+Bio[ _]+Engineering|Chemical[ _]+and[ _]+Bio[ _]+Engineering[ _]+Project)\s*([\|}{&lt;\n])", "{{WikiProject Chemical and Bio Engineering$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Chemicals|Chemicals|WPCHEMICALS|WP[ _]+Chemicals)\s*([\|}{&lt;\n])", "{{WikiProject Chemicals$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Chemistry|WPCHEMISTRY|WPCHEM|WP[ _]+Chemistry|Chemistry)\s*([\|}{&lt;\n])", "{{WikiProject Chemistry$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Chess|WP[ _]+Chess|WPChess|Chess-WikiProject)\s*([\|}{&lt;\n])", "{{WikiProject Chess$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Chicago|WP[ _]+Chicago|WPCHICAGO|Chicago[ _]+WikiProject|ChicagoWikiProject)\s*([\|}{&lt;\n])", "{{WikiProject Chicago$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Children\'s[ _]+literature|Fairytale|Children\'sLiteratureWikiProject|WikiProject[ _]+Children\'s[ _]+Literature)\s*([\|}{&lt;\n])", "{{WikiProject Children's literature$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Chile|WPCHILE|WPChile|WP[ _]+Chile)\s*([\|}{&lt;\n])", "{{WikiProject Chile$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+China|China|WP[ _]+China|WPCHINA|WPChina|WPTIBET|Wikiproject[ _]+China)\s*([\|}{&lt;\n])", "{{WikiProject China$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Chinese-language[ _]+entertainment|CPOP|Cpop|WPCLE)\s*([\|}{&lt;\n])", "{{WikiProject Chinese-language entertainment$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Christian[ _]+metal|Christianmetal |WikiProject[ _]+Christian[ _]+metal)\s*([\|}{&lt;\n])", "{{WikiProject Christian metal$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Christian[ _]+music|Christianmusic|WikiProject[ _]+Contemporary[ _]+Christian[ _]+music|WikiProject[ _]+Gospel|WikiProject[ _]+Gospel[ _]+music)\s*([\|}{&lt;\n])", "{{WikiProject Christian music$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Christianity|WP[ _]+Christianity|CharismaticWikiProject|Christ|Christianity[ _]+WikiProject|ChristianityWikiProject|ChristianityWikiproject|Christianitywikiproject|JWProject|NazareneProject|Quaker|WPCHRIST|WPCHRISTIANITY|WPChristianity|WikiProject[ _]+Charismatic[ _]+Christianity|WikiProject[ _]+Messianic[ _]+Judaism|WikiProject[ _]+Syriac[ _]+Christianity|Wikiproject[ _]+Christianity|Wpchr)\s*([\|}{&lt;\n])", "{{WikiProject Christianity$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Cincinnati|WPCINCINNATI)\s*([\|}{&lt;\n])", "{{WikiProject Cincinnati$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Cities|WikiProjectCities|WPCITIES|WP[ _]+Cities|WPCities)\s*([\|}{&lt;\n])", "{{WikiProject Cities$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Citizendium[ _]+Porting|CZPORT)\s*([\|}{&lt;\n])", "{{WikiProject Citizendium Porting$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Civil[ _]+engineering|WikiProject[ _]+Geotechnical[ _]+engineering|WikiProject[ _]+Civil[ _]+Engineering)\s*([\|}{&lt;\n])", "{{WikiProject Civil engineering$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Classical[ _]+Greece[ _]+and[ _]+Rome|Classical[ _]+Greece[ _]+and[ _]+Rome|Classical[ _]+greece[ _]+and[ _]+rome|WP[ _]+Classics|WikiProject[ _]+Classics)\s*([\|}{&lt;\n])", "{{WikiProject Classical Greece and Rome$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Classical[ _]+League|Wiki[ _]+Project[ _]+Classical[ _]+League)\s*([\|}{&lt;\n])", "{{WikiProject Classical League$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Classical[ _]+music|Classical|WPCLASSICAL|WPCLASSICALMUSIC|WikiProject[ _]+Classical[ _]+Music)\s*([\|}{&lt;\n])", "{{WikiProject Classical music$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Cleveland|ClevelandWikiProject)\s*([\|}{&lt;\n])", "{{WikiProject Cleveland$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Climbing|Climbing)\s*([\|}{&lt;\n])", "{{WikiProject Climbing$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Cold[ _]+War|Cold[ _]+WarWikiProject|WikiProject[ _]+Cold[ _]+War[ _]+history|WikiProject[ _]+Cold[ _]+war)\s*([\|}{&lt;\n])", "{{WikiProject Cold War$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+College[ _]+basketball|WikiProject[ _]+College[ _]+basketball)\s*([\|}{&lt;\n])", "{{WikiProject College basketball$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+College[ _]+football|WikiProject[ _]+College[ _]+Football)\s*([\|}{&lt;\n])", "{{WikiProject College football$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Colombia|WPColombia|WPCOLOMBIA|WPColumbia|WP[ _]+Colombia)\s*([\|}{&lt;\n])", "{{WikiProject Colombia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Color|WikiProject[ _]+Colour|Wikiproject[ _]+color|WP[ _]+Color)\s*([\|}{&lt;\n])", "{{WikiProject Color$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Colorado|WPCOLORADO|WP[ _]+Colorado|Project[ _]+Colorado)\s*([\|}{&lt;\n])", "{{WikiProject Colorado$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Columbia,[ _]+Missouri[ _]+people)\s*([\|}{&lt;\n])", "{{WikiProject Columbia, Missouri people$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Columbia,[ _]+Missouri|WikiProject[ _]+Columbia,[ _]+Missouri[ _]+people)\s*([\|}{&lt;\n])", "{{WikiProject Columbia, Missouri$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Combat[ _]+Games|WikiProjectWG)\s*([\|}{&lt;\n])", "{{WikiProject Combat Games$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Comedy|Comedy|WP[ _]+Comedy)\s*([\|}{&lt;\n])", "{{WikiProject Comedy$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Comics|Comicsproj|WP[ _]+Comics|WPCOMICS|WPComics|Webcomicproj|Webcomicsproj)\s*([\|}{&lt;\n])", "{{WikiProject Comics$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Commonwealth|WikiProject[ _]+Commonwealth[ _]+realms|WPCommonwealth)\s*([\|}{&lt;\n])", "{{WikiProject Commonwealth$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Companies|WP[ _]+Company|Companies|WP[ _]+Companies|WPCO|WPCOMPANIES|WPCompanies|WikiProject[ _]+Company|Wikiproject[ _]+Companies)\s*([\|}{&lt;\n])", "{{WikiProject Companies$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Composers|WPCOMPOSERS|WP[ _]+Composers|Composers)\s*([\|}{&lt;\n])", "{{WikiProject Composers$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Computer[ _]+science|WikiProject[ _]+Computer[ _]+Science|WPCompSci|WPCS|Compsci)\s*([\|}{&lt;\n])", "{{WikiProject Computer science$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Computer[ _]+Security|WikiProject[ _]+Malware|MalwareProject)\s*([\|}{&lt;\n])", "{{WikiProject Computer Security$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Computing|Computing|WP[ _]+Computing|WPComputing|WikiProject[ _]+Computers|WikiProject[ _]+Information[ _]+Technology)\s*([\|}{&lt;\n])", "{{WikiProject Computing$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Congo)\s*([\|}{&lt;\n])", "{{WikiProject Africa|Congo=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Connecticut|WPCT|WPCONNECTICUT)\s*([\|}{&lt;\n])", "{{WikiProject Connecticut$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Constructed[ _]+languages|WP[ _]+constructed[ _]+languages|WP[ _]+conlangs)\s*([\|}{&lt;\n])", "{{WikiProject Constructed languages$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Contemporary[ _]+Art|ContemporaryArtProject)\s*([\|}{&lt;\n])", "{{WikiProject Contemporary Art$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Contemporary[ _]+music|Contemporary[ _]+music|WPCONTEMPORARY|WPCONTEMPORARYMUSIC|WikiProject[ _]+Contemporary[ _]+Music)\s*([\|}{&lt;\n])", "{{WikiProject Contemporary music$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Contract[ _]+bridge|WPCB)\s*([\|}{&lt;\n])", "{{WikiProject Contract bridge$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Cooperatives|COOP|Cooperatives)\s*([\|}{&lt;\n])", "{{WikiProject Cooperatives$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Cornell[ _]+University|WikiProject[ _]+Cornell|Project[ _]+Cornell)\s*([\|}{&lt;\n])", "{{WikiProject Cornell University$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Cornwall|CornwallWikiproject|Geography[ _]+of[ _]+Penwith\,[ _]+Cornwall|WPCORNWALL)\s*([\|}{&lt;\n])", "{{WikiProject Cornwall$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Correction[ _]+and[ _]+Detention[ _]+Facilities|Jail[ _]+project)\s*([\|}{&lt;\n])", "{{WikiProject Correction and Detention Facilities$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Costa[ _]+Rica|WPCR)\s*([\|}{&lt;\n])", "{{WikiProject Costa Rica$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Côte[ _]+d'Ivoire)\s*([\|}{&lt;\n])", "{{WikiProject Africa|Côte d'Ivoire=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Countering[ _]+systemic[ _]+bias|Csbir)\s*([\|}{&lt;\n])", "{{WikiProject Countering systemic bias$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Countries|WPCOUNTRIES|WP[ _]+Countries|WPCountries)\s*([\|}{&lt;\n])", "{{WikiProject Countries$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Country[ _]+Music|Countrybanner|Countrynotice)\s*([\|}{&lt;\n])", "{{WikiProject Country Music$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Coventry|WPCov)\s*([\|}{&lt;\n])", "{{WikiProject Coventry$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Cricket|WP[ _]+Cricket|Wikiproject[ _]+Cricket|WPCRIC|CricketWatch)\s*([\|}{&lt;\n])", "{{WikiProject Cricket$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Crime|WP[ _]+Crime|WPCRIME|WPCrime)\s*([\|}{&lt;\n])", "{{WikiProject Crime$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Criminal[ _]+Biography|WP[ _]+Criminal)\s*([\|}{&lt;\n])", "{{WikiProject Criminal Biography$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Croatia|WPCROATIA|WPCroatia|WP[ _]+Croatia)\s*([\|}{&lt;\n])", "{{WikiProject Croatia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Cryptography|Cryptography|WP[ _]+Cryptography|CryptographyProject)\s*([\|}{&lt;\n])", "{{WikiProject Cryptography$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Cryptozoology|WikiProject[ _]+Cryptids)\s*([\|}{&lt;\n])", "{{WikiProject Cryptozoology$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+CSI[ _]+franchise|WP[ _]+CSI|WikiProject[ _]+CSI)\s*([\|}{&lt;\n])", "{{WikiProject CSI franchise$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Cuba|Cuba|WPCUBA|WP[ _]+Cuba|WPCuba)\s*([\|}{&lt;\n])", "{{WikiProject Cuba$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Cue[ _]+sports|Cue[ _]+sports[ _]+project)\s*([\|}{&lt;\n])", "{{WikiProject Cue sports$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Cultural[ _]+Heritage[ _]+of[ _]+Serbia|CHS|CPGI|WPCHS|WikiProject[ _]+Cultural[ _]+Property[ _]+of[ _]+Great[ _]+Importance)\s*([\|}{&lt;\n])", "{{WikiProject Cultural Heritage of Serbia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Culture|WPCulture)\s*([\|}{&lt;\n])", "{{WikiProject Culture$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Curling|Curling)\s*([\|}{&lt;\n])", "{{WikiProject Curling$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Current[ _]+events|Current[ _]+events[ _]+project)\s*([\|}{&lt;\n])", "{{WikiProject Current events$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Cycling|Cycling-project|Cycling[ _]+project|WPMB|WP[ _]+Cycling)\s*([\|}{&lt;\n])", "{{WikiProject Cycling$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Cyprus|WPCYPRUS|WPCYP|WPCyprus|WP[ _]+Cyprus)\s*([\|}{&lt;\n])", "{{WikiProject Cyprus$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Czech[ _]+Republic|WP[ _]+Czech[ _]+Republic|WPCZECH|WPCzech|WPCzechRepublic|Wpcs)\s*([\|}{&lt;\n])", "{{WikiProject Czech Republic$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Dad\'s[ _]+Army|Dadsarmyproject)\s*([\|}{&lt;\n])", "{{WikiProject Dad's Army$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Dallas-Fort[ _]+Worth|WikiProject[ _]+Dallas)\s*([\|}{&lt;\n])", "{{WikiProject Dallas-Fort Worth$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Dance|Wikiproject[ _]+Dance|WPDance|WPDANCE|WP[ _]+Dance)\s*([\|}{&lt;\n])", "{{WikiProject Dance$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Database|WP[ _]+Database|WP[ _]+Databases|WPDATABASE|WPDatabase|WPDatabases|WikiProject[ _]+Database)\s*([\|}{&lt;\n])", "{{WikiProject Database$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Days[ _]+of[ _]+the[ _]+Year|Wikiprojectdaysofyear|WikiProject[ _]+Days[ _]+of[ _]+the[ _]+Year|DayTalkMessage)\s*([\|}{&lt;\n])", "{{WikiProject Days of the Year$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Deaf|WikiProjectDeaf|WPDeaf)\s*([\|}{&lt;\n])", "{{WikiProject Deaf$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Death|WPDeath|WPDEATH|WP[ _]+Death)\s*([\|}{&lt;\n])", "{{WikiProject Death$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Degrassi|WikiDegrassi)\s*([\|}{&lt;\n])", "{{WikiProject Degrassi$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Delaware|Project[ _]+Delaware|WPDELAWARE|WP[ _]+Delaware|WPDelaware)\s*([\|}{&lt;\n])", "{{WikiProject Delaware$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Denmark|WPDENMARK|WPDenmark|WikiProject[ _]+Danmark|WP[ _]+Denmark)\s*([\|}{&lt;\n])", "{{WikiProject Denmark$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Democratic[ _]+Republic[ _]+of[ _]+the[ _]+Congo)\s*([\|}{&lt;\n])", "{{WikiProject Africa|Democratic Republic of the Congo=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Dentistry|WPDENT)\s*([\|}{&lt;\n])", "{{WikiProject Dentistry$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Derbyshire|Project[ _]+Derbyshire)\s*([\|}{&lt;\n])", "{{WikiProject Derbyshire$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Deserts|WP[ _]+Deserts)\s*([\|}{&lt;\n])", "{{WikiProject Deserts$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Developmental[ _]+Biology|Wikiproject[ _]+DevBio|WikiProject[ _]+DevBio)\s*([\|}{&lt;\n])", "{{WikiProject Developmental Biology$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Devon|WPDevon)\s*([\|}{&lt;\n])", "{{WikiProject Devon$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Disambiguation|DBP|Dab-talkheader|Dabproject|Dbp|DisProject|DisambProject|Disambig[ _]+Project|Disambig-Project|DisambigProj|DisambigProject|Disambigproject|DisambiguationProject|Disambproject|ProjectDisambig|WP[ _]+DAB|WP[ _]+Dab|WP[ _]+Disambig|WP[ _]+Disambiguation|WPDAB|WPDISAMBIG|WPDisambig|WPDisambiguation|WikiProect[ _]+Disambiguation|Wikiproject[ _]+Disambiguation)\s*([\|}{&lt;\n])", "{{WikiProject Disambiguation$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Disaster[ _]+management|Disaster[ _]+management|WikiProject[ _]+Disaster[ _]+Management)\s*([\|}{&lt;\n])", "{{WikiProject Disaster management$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Discographies|WPDISCOG|WP[ _]+Discographies|Wp[ _]+disc)\s*([\|}{&lt;\n])", "{{WikiProject Discographies$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Discrimination|WPDISC)\s*([\|}{&lt;\n])", "{{WikiProject Discrimination$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Disney|WP[ _]+Disney)\s*([\|}{&lt;\n])", "{{WikiProject Disney$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Disneyland|WikiProjectDisneyland)\s*([\|}{&lt;\n])", "{{WikiProject Disneyland$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+District[ _]+Of[ _]+Columbia|WikiProject[ _]+Washington,[ _]+D\.C\.|WikiProject[ _]+Washington[ _]+DC)\s*([\|}{&lt;\n])", "{{WikiProject District of Columbia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Doctor[ _]+Who|Doctorwhoproject)\s*([\|}{&lt;\n])", "{{WikiProject Doctor Who$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Dogs|WPDOG|WPDOGS|WikiProject dogs)\s*([\|}{&lt;\n])", "{{WikiProject Dogs$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Dorset|WPDorset)\s*([\|}{&lt;\n])", "{{WikiProject Dorset$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Dravidian[ _]+languages|WPDRAVLAN)\s*([\|}{&lt;\n])", "{{WikiProject Dravidian languages$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Dravidian[ _]+people|WPDRAVPPL)\s*([\|}{&lt;\n])", "{{WikiProject Dravidian people$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Droughts[ _]+and[ _]+Fire[ _]+Events|Drought)\s*([\|}{&lt;\n])", "{{WikiProject Droughts and Fire Events$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Drum[ _]+Corps|Drumcorps/-project|Drumcorps/-cat)\s*([\|}{&lt;\n])", "{{WikiProject Drum Corps$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Dungeons[ _]+\&amp;[ _]+Dragons|D\&amp;D|Dungeons[ _]+\&amp;[ _]+Dragons|Project[ _]+D\&amp;D|WPD\&amp;D|WPDND|WikiProject[ _]+D\&amp;D)\s*([\|}{&lt;\n])", "{{WikiProject Dungeons &amp; Dragons$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Dyslexia|DyslexiaProject)\s*([\|}{&lt;\n])", "{{WikiProject Dyslexia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Earthquakes|Earthquake[ _]+category|Earthquake[ _]+image|Earthquake[ _]+list|Earthquake[ _]+project|Earthquake[ _]+template|WP[ _]+Earthquakes)\s*([\|}{&lt;\n])", "{{WikiProject Earthquakes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+East[ _]+Anglia|WP[ _]+Cambridge|WikiProject[ _]+Suffolk|WikiProject[ _]+Norfolk|WikiProject[ _]+Essex|WP[ _]+Norfolk|WikiProject[ _]+Cambridgeshire)\s*([\|}{&lt;\n])", "{{WikiProject East Anglia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+East[ _]+Asia|EASIA|EASTASIA|WPEA|WPEASIA|WPEASTASIA)\s*([\|}{&lt;\n])", "{{WikiProject East Asia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+East[ _]+Timor|WPETIMOR)\s*([\|}{&lt;\n])", "{{WikiProject East Timor$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+EastEnders|EastEnders[ _]+project[ _]+class|WP[ _]+EastEnders)\s*([\|}{&lt;\n])", "{{WikiProject EastEnders$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Eastern[ _]+Orthodoxy|Orthodoxyproject|SOCWikiProject|WikiProject[ _]+Eatern[ _]+Orthodoxy)\s*([\|}{&lt;\n])", "{{WikiProject Eastern Orthodoxy$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Eclipses|WPEclipses|WikiProject[ _]+eclipses)\s*([\|}{&lt;\n])", "{{WikiProject Eclipses$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Ecology|Ecology)\s*([\|}{&lt;\n])", "{{WikiProject Ecology$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Economics|WPEconomics|WPEC|WPECON|Econ|WP[ _]+Economics)\s*([\|}{&lt;\n])", "{{WikiProject Economics$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Ecoregions|WikiProject[ _]+ecoregions|WP[ _]+Ecoregions|Wikiproject[ _]+ecoregions)\s*([\|}{&lt;\n])", "{{WikiProject Ecoregions$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Ecuador|WPECUADOR|WP[ _]+Ecuador|WPEcuador)\s*([\|}{&lt;\n])", "{{WikiProject Ecuador$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Edinburgh|WP[ _]+Edinburgh)\s*([\|}{&lt;\n])", "{{WikiProject Edinburgh$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Editing[ _]+trends|WPET)\s*([\|}{&lt;\n])", "{{WikiProject Editing trends$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Education|WP[ _]+Education|WPED|WPEDU|WPEducation|WikiProject[ _]+Public[ _]+Policy)\s*([\|}{&lt;\n])", "{{WikiProject Education$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Egypt|WPEgypt|WPEGYPT|WP[ _]+Egypt)\s*([\|}{&lt;\n])", "{{WikiProject Egypt$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+El[ _]+Salvador|WPES|WP[ _]+El[ _]+Salvador)\s*([\|}{&lt;\n])", "{{WikiProject El Salvador$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Elections[ _]+and[ _]+Referendums|WP[ _]+Election|WP[ _]+Elections|WikiProject[ _]+Elections|WikiProject[ _]+Elections[ _]+and[ _]+Referenda)\s*([\|}{&lt;\n])", "{{WikiProject Elections and Referendums$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Electronic[ _]+music|WPEM|Electronic-music-project|WP[ _]+Electro|WP[ _]+Electronic[ _]+music|WPElectro|WPElectronic[ _]+music)\s*([\|}{&lt;\n])", "{{WikiProject Electronic music$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Electronics|Electro|Electron|WPElectronics|WP[ _]+Electronics)\s*([\|}{&lt;\n])", "{{WikiProject Electronics$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Elements|WP[ _]+Elements)\s*([\|}{&lt;\n])", "{{WikiProject Elements$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Elizabethan[ _]+theatre|WikiProject[ _]+E-theatre)\s*([\|}{&lt;\n])", "{{WikiProject Elizabethan theatre$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Emmerdale|WikiProjectEmmerdale)\s*([\|}{&lt;\n])", "{{WikiProject Emmerdale$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Emo|Wikiproject[ _]+Emo[ _]+music|Wikiproject[ _]+Emo|WPEmo)\s*([\|}{&lt;\n])", "{{WikiProject Emo$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Endangered[ _]+Languages|WPENLANG|WikiProject[ _]+Endangered[ _]+Languages)\s*([\|}{&lt;\n])", "{{WikiProject Endangered Languages$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Energy|Energy|Energy[ _]+development|WP[ _]+Energy|WPENERGY|WPEnergy|WikiProject[ _]+Energy[ _]+development)\s*([\|}{&lt;\n])", "{{WikiProject Energy$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Engineering|WPEngineering|WP[ _]+Engineering|Engineering)\s*([\|}{&lt;\n])", "{{WikiProject Engineering$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+England|WPE|WPEngland|WPENGLAND|WP[ _]+England|WPEng|England)\s*([\|}{&lt;\n])", "{{WikiProject England$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+English[ _]+Royalty|WP[ _]+English[ _]+Royalty)\s*([\|}{&lt;\n])", "{{WikiProject English Royalty$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Entrepreneurship[ _]+policies[ _]+in[ _]+the[ _]+Arab[ _]+world|ArabEntrep[ _]+banner)\s*([\|}{&lt;\n])", "{{WikiProject Entrepreneurship policies in the Arab world$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Environment|Environment|Hydrogen[ _]+development|WP[ _]+Environment|WPENVIRONMENT)\s*([\|}{&lt;\n])", "{{WikiProject Environment$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Equatorial[ _]+Guinea)\s*([\|}{&lt;\n])", "{{WikiProject Africa|Equatorial Guinea=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Equine|Eqtalk|WPEQ)\s*([\|}{&lt;\n])", "{{WikiProject Equine$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Erie|ErieWikiProject)\s*([\|}{&lt;\n])", "{{WikiProject Erie$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Eritrea)\s*([\|}{&lt;\n])", "{{WikiProject Africa|Eritrea=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Essays|Essaysort)\s*([\|}{&lt;\n])", "{{WikiProject Essays$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Estonia|WPEstonia|Wp[ _]+estonia|WPESTONIA|WP[ _]+Estonia|Wikiproject[ _]+estonia)\s*([\|}{&lt;\n])", "{{WikiProject Estonia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Ethiopia|WPETHIOPIA|WPEthiopia|WP[ _]+Ethiopia)\s*([\|}{&lt;\n])", "{{WikiProject Ethiopia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Ethnic[ _]+groups|Ethnic[ _]+groups|WP[ _]+Ethnic[ _]+groups|WPETHNIC|WikiProject[ _]+Ethnic[ _]+Groups)\s*([\|}{&lt;\n])", "{{WikiProject Ethnic groups$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Etymology|WP[ _]+Etymology)\s*([\|}{&lt;\n])", "{{WikiProject Etymology$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Europe|WP[ _]+Europe|WPEUROPE|WPEurope|WikiProject[ _]+Southern[ _]+Europe)\s*([\|}{&lt;\n])", "{{WikiProject Europe$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+European[ _]+history|WP[ _]+European[ _]+History|Eurohist)\s*([\|}{&lt;\n])", "{{WikiProject European history$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+European[ _]+Microstates|MICROSTATE|WP[ _]+European[ _]+Microstates)\s*([\|}{&lt;\n])", "{{WikiProject European Microstates$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+European[ _]+Union|European[ _]+Union|European[ _]+Union[ _]+Wikiproject|WPEU|WikiProject[ _]+EU|Wikiproject[ _]+European[ _]+Union)\s*([\|}{&lt;\n])", "{{WikiProject European Union$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Eurovision|EurovisionNotice)\s*([\|}{&lt;\n])", "{{WikiProject Eurovision$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Evanescence|WPEV)\s*([\|}{&lt;\n])", "{{WikiProject Evanescence$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Event[ _]+Venues|WPVENUE|WikiProject[ _]+Stadia)\s*([\|}{&lt;\n])", "{{WikiProject Event Venues$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Evolutionary[ _]+biology|EvolWikiProject|WPEB|WikiProject[ _]+Evolutionary[ _]+Biology|Wikiproject[ _]+Evolution)\s*([\|}{&lt;\n])", "{{WikiProject Evolutionary biology$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Explosives|WPExplosives)\s*([\|}{&lt;\n])", "{{WikiProject Explosives$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Fact[ _]+and[ _]+Reference[ _]+Check|WPFACT)\s*([\|}{&lt;\n])", "{{WikiProject Fact and Reference Check$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Family[ _]+Guy|Family[ _]+Guy[ _]+WikiProject)\s*([\|}{&lt;\n])", "{{WikiProject Family Guy$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Fascism|FascismProject)\s*([\|}{&lt;\n])", "{{WikiProject Fascism$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Fashion|WPFashion|WPFASHION|WP[ _]+Fashion)\s*([\|}{&lt;\n])", "{{WikiProject Fashion$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Fawlty[ _]+Towers|Fawltytowersproject)\s*([\|}{&lt;\n])", "{{WikiProject Fawlty Towers$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+FBI|Project[ _]+FBI[ _]+Basic|Project[ _]+FBI|WP[ _]+FBI)\s*([\|}{&lt;\n])", "{{WikiProject FBI$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Festivals|WikiProject[ _]+Festival)\s*([\|}{&lt;\n])", "{{WikiProject Festivals$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Figure[ _]+Skating)\s*([\|}{&lt;\n])", "{{WikiProject Figure Skating$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Film|FILM|Film|WPFILM|FilmWikiProject|FilmsWikiProject|WP[ _]+Film|WP[ _]+Films|WikiProject[ _]+Filmmaking|WikiProject[ _]+Films|WikiProjectFilm)\s*([\|}{&lt;\n])", "{{WikiProject Film$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Finance|WP[ _]+Finance|WPFinance|WPFINANCE)\s*([\|}{&lt;\n])", "{{WikiProject Finance$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Finland|WPFINLAND|Finland|WP[ _]+Finland|WPFinland)\s*([\|}{&lt;\n])", "{{WikiProject Finland$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Fire[ _]+Service|WikiProject[ _]+Fire[ _]+service|WikiProject[ _]+FireService|WikiProjectFireService)\s*([\|}{&lt;\n])", "{{WikiProject Fire Service$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Firearms|WPGUNS|WP[ _]+Firearms)\s*([\|}{&lt;\n])", "{{WikiProject Firearms$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Firefly|WPFirefly)\s*([\|}{&lt;\n])", "{{WikiProject Firefly$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Fisheries[ _]+and[ _]+Fishing|WikiProject[ _]+Fishing|WPFISHING)\s*([\|}{&lt;\n])", "{{WikiProject Fisheries and Fishing$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Fishes|WikiProject[ _]+Fish|Fishes|FishTalk|Fishproject|WP[ _]+Fishes)\s*([\|}{&lt;\n])", "{{WikiProject Fishes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Floods|Flood)\s*([\|}{&lt;\n])", "{{WikiProject Floods$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Floorball|Floorball)\s*([\|}{&lt;\n])", "{{WikiProject Floorball$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Florida[ _]+Gators|GatorsProject)\s*([\|}{&lt;\n])", "{{WikiProject Florida Gators$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Florida[ _]+International[ _]+University|WPFIU|WikiProject[ _]+FIU[ _]+banner|WikiProject[ _]+Florida[ _]+International[ _]+University/banner)\s*([\|}{&lt;\n])", "{{WikiProject Florida International University$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Florida[ _]+State[ _]+University|WPFSU)\s*([\|}{&lt;\n])", "{{WikiProject Florida State University$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Florida|Project[ _]+Florida|Florida[ _]+project|WikiProject[ _]+Florida[ _]+category|WikiProject[ _]+Florida[ _]+template|WikiProject[ _]+Florida[ _]+image|Project[ _]+Florida[ _]+template|Project[ _]+Florida[ _]+category|WPFLORIDA|WPFL|WPFlorida|WP[ _]+Florida)\s*([\|}{&lt;\n])", "{{WikiProject Florida$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Food[ _]+and[ _]+drink|Food[ _]+and[ _]+drink|WPFOOD|WPCUISINE|F&amp;D|WikiProject[ _]+Ice[ _]+Cream|WP[ _]+Ice[ _]+Cream|Wpfood|WikiProject[ _]+Food[ _]+and[ _]+Drink|Food|Wikiproject[ _]+Food[ _]+and[ _]+drink|WP[ _]+Food|Wikiproject[ _]+Food[ _]+and[ _]+Drink|WikiProject[ _]+Food|Wpf)\s*([\|}{&lt;\n])", "{{WikiProject Food and drink$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Football|Football|WP[ _]+Football|WP[ _]+Footy|WPFootball|WPFooty|WikiProject[ _]+Soccer)\s*([\|}{&lt;\n])", "{{WikiProject Football$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Forestry|Forestry)\s*([\|}{&lt;\n])", "{{WikiProject Forestry$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Forgotten[ _]+Realms|Forgotten[ _]+Realms[ _]+project)\s*([\|}{&lt;\n])", "{{WikiProject Forgotten Realms$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Former[ _]+countries|WPFC|WikiProject[ _]+Former[ _]+Countries)\s*([\|}{&lt;\n])", "{{WikiProject Former countries$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Formula[ _]+One|WPF1)\s*([\|}{&lt;\n])", "{{WikiProject Formula One$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+France|France|WPFR|WPFRANCE|WPFrance|WP[ _]+France)\s*([\|}{&lt;\n])", "{{WikiProject France$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Fraternities[ _]+and[ _]+Sororities)\s*([\|}{&lt;\n])", "{{WikiProject Fraternities and Sororities$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Free[ _]+Software|WPFS|WikiProject[ _]+Free[ _]+software)\s*([\|}{&lt;\n])", "{{WikiProject Free Software$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Friesland|Project[ _]+Friesland)\s*([\|}{&lt;\n])", "{{WikiProject Friesland$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Fungi|WPFUNGI|Fungi|WPFUNGUS)\s*([\|}{&lt;\n])", "{{WikiProject Fungi$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Furry|WP[ _]+Furry)\s*([\|}{&lt;\n])", "{{WikiProject Furry$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Futurama|WP[ _]+Futurama[ _]+notice|FuturamaWikiProject)\s*([\|}{&lt;\n])", "{{WikiProject Futurama$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+G\.I\.[ _]+Joe|Wikiproject[ _]+G\.I\.[ _]+Joe)\s*([\|}{&lt;\n])", "{{WikiProject G.I. Joe$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Gaelic[ _]+games|Gaelic[ _]+Games[ _]+Project[ _]+Category|GaelicGamesProject|GaelicGamesProject[ _]+Category|GaelicGamesProject[ _]+category|GaelicGamesProjectCategory|GaelicGamesProjectTemplate)\s*([\|}{&lt;\n])", "{{WikiProject Gaelic games$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Gambling|Gambling)\s*([\|}{&lt;\n])", "{{WikiProject Gambling$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Game[ _]+theory|WPGT|GTP|GameTheoryProject)\s*([\|}{&lt;\n])", "{{WikiProject Game theory$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Games|WP[ _]+Games)\s*([\|}{&lt;\n])", "{{WikiProject Games$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Gastropods|GastTalk|Gastropods|WP[ _]+Gastropods)\s*([\|}{&lt;\n])", "{{WikiProject Gastropods$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Gemology[ _]+and[ _]+Jewelry|WP[ _]+Gems|WP[ _]+Gemology[ _]+and[ _]+Jewelry)\s*([\|}{&lt;\n])", "{{WikiProject Gemology and Jewelry$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Gender[ _]+Studies|WikiProject[ _]+Gender[ _]+studies)\s*([\|}{&lt;\n])", "{{WikiProject Gender Studies$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Genetics|Wikiproject[ _]+Genetics)\s*([\|}{&lt;\n])", "{{WikiProject Genetics$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Geographical[ _]+coordinates|WPcoord)\s*([\|}{&lt;\n])", "{{WikiProject Geographical coordinates$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Geography|Geography|WP[ _]+Geography|WPGEO|WPGEOGRAPHY|Wpgeo)\s*([\|}{&lt;\n])", "{{WikiProject Geography$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Geology|WPGeology|WPGEOLOGY|WP[ _]+Geology)\s*([\|}{&lt;\n])", "{{WikiProject Geology$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Georgia[ _]+\([ ]*U\.S\.[ ]+state\)|WikiProject[ _]+GeorgiaUS|Wikiproject[ _]+Georgia[ _]+\(U\.S\.[ _]+state\)|WPGEORGIA|WikiProject[ _]+Georgia[ _]+\(U\.S\.[ _]+state\)|WP[ _]+Georgia[ _]+\(U\.S\.[ _]+state\)|WPGEORGIAUSA|WikiProject[ _]+GeorgiaUS)\s*([\|}{&lt;\n])", "{{WikiProject Georgia (U.S. state)$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Georgia[ _]+\(country\)|WikiProject[ _]+Georgia|WPGC)\s*([\|}{&lt;\n])", "{{WikiProject Georgia (country)$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Georgia[ _]+Tech|Wikiproject[ _]+Georgia[ _]+Tech)\s*([\|}{&lt;\n])", "{{WikiProject Georgia Tech$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Germany|Germany|Project[ _]+Germany|WP[ _]+Germany|WPGERMANY|WPGermany|WikiProject[ _]+Germany[ _]+Road[ _]+Transportation|Wikiproject[ _]+Germany|Wpg)\s*([\|}{&lt;\n])", "{{WikiProject Germany$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Ghana|WPGhana|GhanaProject|WP[ _]+Ghana)\s*([\|}{&lt;\n])", "{{WikiProject Ghana$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Ghost[ _]+towns|WikiProject[ _]+Ghost[ _]+towns[ _]+category|WikiProject[ _]+Ghost[ _]+towns[ _]+list|Wikiproject[ _]+Ghost[ _]+towns[ _]+empty[ _]+category)\s*([\|}{&lt;\n])", "{{WikiProject Ghost towns$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Gibraltar|WP[ _]+Gibraltar)\s*([\|}{&lt;\n])", "{{WikiProject Gibraltar$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Gilbert[ _]+and[ _]+Sullivan|G\&amp;S\-category|G\&amp;S\-project)\s*([\|}{&lt;\n])", "{{WikiProject Gilbert and Sullivan$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Glaciers|Messagebox[ _]+glaciers)\s*([\|}{&lt;\n])", "{{WikiProject Glaciers$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Glass|WP[ _]+Glass|Glass)\s*([\|}{&lt;\n])", "{{WikiProject Glass$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Global[ _]+perspective[ _]+task[ _]+force|Global[ _]+perspective[ _]+task[ _]+force)\s*([\|}{&lt;\n])", "{{WikiProject Global perspective task force$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Golf|Wikiproject[ _]+Golf|WP[ _]+Golf|WPGOLF)\s*([\|}{&lt;\n])", "{{WikiProject Golf$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Google|WP[ _]+Google)\s*([\|}{&lt;\n])", "{{WikiProject Google$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Greater[ _]+Albany/Savannah/Valdosta[ _]+\(South[ _]+Georgia\))\s*([\|}{&lt;\n])", "{{WikiProject Greater Albany/Savannah/Valdosta (South Georgia)$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Greater[ _]+Manchester|WPGM)\s*([\|}{&lt;\n])", "{{WikiProject Greater Manchester$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Greece|WP[ _]+Greece|WPGR|WPGREECE|WPGreece|WPHOG|Wpgr)\s*([\|}{&lt;\n])", "{{WikiProject Greece$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Green[ _]+Bay[ _]+Packers|GreenBayPackersProject)\s*([\|}{&lt;\n])", "{{WikiProject Green Bay Packers$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Grey\'s[ _]+Anatomy|Project[ _]+Grey\'s[ _]+Anatomy)\s*([\|}{&lt;\n])", "{{WikiProject Grey's Anatomy$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Greyhawk|ProjectGreyhawk)\s*([\|}{&lt;\n])", "{{WikiProject Greyhawk$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Guardians[ _]+of[ _]+Time[ _]+Trilogy|GoT\-project|GoT\-Project)\s*([\|}{&lt;\n])", "{{WikiProject Guardians of Time Trilogy$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Guatemala|WPGuatemala)\s*([\|}{&lt;\n])", "{{WikiProject Central America|Guatemala=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Guild[ _]+of[ _]+Copy[ _]+Editors|GOCE|GOCEdone|GoCE|Goce|PACEdone)\s*([\|}{&lt;\n])", "{{WikiProject Guild of Copy Editors$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Guitarists|WikiProjectGuitarists|WPGTR)\s*([\|}{&lt;\n])", "{{WikiProject Guitarists$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Halo|HaloWikiProject)\s*([\|}{&lt;\n])", "{{WikiProject Halo$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Hampshire|Hants)\s*([\|}{&lt;\n])", "{{WikiProject Hampshire$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Harry[ _]+Potter|HP-project|WPHP)\s*([\|}{&lt;\n])", "{{WikiProject Harry Potter$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Hawaii|WPHawaii|WP[ _]+Hawaii|WPHAWAII)\s*([\|}{&lt;\n])", "{{WikiProject Hawaii$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Health[ _]+and[ _]+fitness|WikiProject[ _]+Health|Health)\s*([\|}{&lt;\n])", "{{WikiProject Health and fitness$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Hebrew[ _]+languages|WikiProject[ _]+Hebrew[ _]+Languages)\s*([\|}{&lt;\n])", "{{WikiProject Hebrew languages$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Hello\![ _]+Project|WikiProject[ _]+Hello\!Project)\s*([\|}{&lt;\n])", "{{WikiProject Hello! Project$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Herefordshire|WP[ _]+Herefordshire)\s*([\|}{&lt;\n])", "{{WikiProject Herefordshire$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Hertfordshire|WPHERTS)\s*([\|}{&lt;\n])", "{{WikiProject Hertfordshire$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+HHGTTG|HHGTTGproject)\s*([\|}{&lt;\n])", "{{WikiProject HHGTTG$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+High[ _]+School[ _]+Musical|Wikiproject[ _]+High[ _]+School[ _]+Musical|HSM)\s*([\|}{&lt;\n])", "{{WikiProject High School Musical$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Highlander|HL[ _]+WikiProject)\s*([\|}{&lt;\n])", "{{WikiProject Highlander$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Highways|HWY|HighwayProject)\s*([\|}{&lt;\n])", "{{WikiProject Highways$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Hiking[ _]+Trails|HikingProject)\s*([\|}{&lt;\n])", "{{WikiProject Hiking Trails$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Hinduism|WP[ _]+Hinduism|WikiProject[ _]+Hindu[ _]+Mythology|WikiProject[ _]+Vedanta)\s*([\|}{&lt;\n])", "{{WikiProject Hinduism$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Hip[ _]+hop|WPHIPHOP|WikiProject[ _]+Hiphop|WikiProject[ _]+hip[ _]+hop|Rap|WikiProject[ _]+Hip[ _]+Hop)\s*([\|}{&lt;\n])", "{{WikiProject Hip hop$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Historic[ _]+sites|WPHSITES|WikiProject[ _]+Historic[ _]+Sites)\s*([\|}{&lt;\n])", "{{WikiProject Historic sites$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+History[ _]+of[ _]+photography|WikiProject[ _]+HOP)\s*([\|}{&lt;\n])", "{{WikiProject History of photography$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+History[ _]+of[ _]+Science|HistSci|WP[ _]+History[ _]+of[ _]+Science|WikiProject[ _]+History[ _]+of[ _]+science)\s*([\|}{&lt;\n])", "{{WikiProject History of Science$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+History|WP[ _]+History|WPHIS|WikiProject[ _]+History[ _]+Coop|Wph|WPHISTORY|WikiProject[ _]+History[ _]+list)\s*([\|}{&lt;\n])", "{{WikiProject History$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Holidays|WPHOLIDAYS)\s*([\|}{&lt;\n])", "{{WikiProject Holidays$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Hollyoaks|WPHO)\s*([\|}{&lt;\n])", "{{WikiProject Hollyoaks$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Home[ _]+living|WP[ _]+Home[ _]+living|WPHomeliving|WikiProject[ _]+Home[ _]+living)\s*([\|}{&lt;\n])", "{{WikiProject Home living$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Honduras)\s*([\|}{&lt;\n])", "{{WikiProject Central America|Honduras=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Hong[ _]+Kong[ _]+Transport|Hong[ _]+Kong[ _]+Transport|WPHKT)\s*([\|}{&lt;\n])", "{{WikiProject Hong Kong Transport$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Hong[ _]+Kong|WPHK|WPHONGKONG)\s*([\|}{&lt;\n])", "{{WikiProject Hong Kong$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Horror|Horror|WikiProject[ _]+Saw|HorrorWikiProject|WP[ _]+Horror)\s*([\|}{&lt;\n])", "{{WikiProject Horror$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Horticulture[ _]+and[ _]+Gardening|Horticulture[ _]+and[ _]+Gardening[ _]+Project)\s*([\|}{&lt;\n])", "{{WikiProject Horticulture and Gardening$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Hotels|Wphotels|WPHOTELS|WP[ _]+Hotels)\s*([\|}{&lt;\n])", "{{WikiProject Hotels$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Houston|WPHOUSTON|WPHouston)\s*([\|}{&lt;\n])", "{{WikiProject Houston$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Hudson[ _]+Valley|Hudson[ _]+Valley)\s*([\|}{&lt;\n])", "{{WikiProject Hudson Valley$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Human[ _]+Genetic[ _]+History|WikiProject[ _]+HGH)\s*([\|}{&lt;\n])", "{{WikiProject Human Genetic History$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Human[ _]+rights|WikiProject[ _]+Human[ _]+Rights|WP[ _]+Human[ _]+rights|WPHUMANRIGHTS|WPHR)\s*([\|}{&lt;\n])", "{{WikiProject Human rights$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Hungary|WPHUN|WPHUNGARY|WP[ _]+Hungary|WPHungary)\s*([\|}{&lt;\n])", "{{WikiProject Hungary$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Ice[ _]+Hockey|ice[ _]+hockey|Blue[ _]+Jackets|Ice[ _]+Hockey|Ice[ _]+hockey|WP[ _]+Ice[ _]+Hockey|WikiProject[ _]+Ice[ _]+hockey)\s*([\|}{&lt;\n])", "{{WikiProject Ice Hockey$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Iceland|WPICELAND|WPIceland|WP[ _]+Iceland)\s*([\|}{&lt;\n])", "{{WikiProject Iceland$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Idaho|WPIDAHO|WP[ _]+Idaho)\s*([\|}{&lt;\n])", "{{WikiProject Idaho$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Illinois|WPILLINOIS|Wikiproject[ _]+Illinois|WP[ _]+Illinois)\s*([\|}{&lt;\n])", "{{WikiProject Illinois$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+India|WP[ _]+Bangalore|WP[ _]+India|WPINDIA|WPIndia|WikiProject[ _]+Indian[ _]+cinema)\s*([\|}{&lt;\n])", "{{WikiProject India$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Indianapolis[ _]+Colts|IndianapolisColtsProject)\s*([\|}{&lt;\n])", "{{WikiProject Indianapolis Colts$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Indigenous[ _]+peoples[ _]+of[ _]+North[ _]+America/Anishinaabe|NorthAmNative/Anishinaabe|WikiProject[ _]+NorthAmNative/Anishinaabe)\s*([\|}{&lt;\n])", "{{WikiProject Indigenous peoples of North America/Anishinaabe$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Indigenous[ _]+peoples[ _]+of[ _]+North[ _]+America|NorthAmNative|WPNATIVE|WPNATIVEAMERICAN)\s*([\|}{&lt;\n])", "{{WikiProject Indigenous peoples of North America$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Indonesia|WPINDONESIA|WP[ _]+Indonesia)\s*([\|}{&lt;\n])", "{{WikiProject Indonesia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Industrial[ _]+design|WPIndustrial[ _]+design)\s*([\|}{&lt;\n])", "{{WikiProject Industrial design$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Inheritance[ _]+Cycle|Wpinheritance)\s*([\|}{&lt;\n])", "{{WikiProject Inheritance Cycle$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Inline[ _]+Templates|WPILT[ _]+banner|WikiProject[ _]+Inline[ _]+templates)\s*([\|}{&lt;\n])", "{{WikiProject Inline Templates$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Insects|WP[ _]+Insect|WP[ _]+Insects|Insect|WikiProject[ _]+Bugs)\s*([\|}{&lt;\n])", "{{WikiProject Insects$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Intelligent[ _]+design|WPID|WikiProject[ _]+Intelligent[ _]+Design|WikiProject[ _]+intelligent[ _]+design)\s*([\|}{&lt;\n])", "{{WikiProject Intelligent design$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+International[ _]+relations|WPIR|intrel|WikiProject[ _]+Foreign[ _]+relations|WikiProject[ _]+United[ _]+Nations)\s*([\|}{&lt;\n])", "{{WikiProject International relations$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Internet[ _]+culture|IPC\-project|Internet[ _]+culture|WP[ _]+Internet[ _]+culture|WPIC|WikiProject[ _]+Internet[ _]+Culture|Wikiproject[ _]+internet[ _]+culture)\s*([\|}{&lt;\n])", "{{WikiProject Internet culture$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Internet|Wpi|WPI|WP[ _]+Internet|WPInternet)\s*([\|}{&lt;\n])", "{{WikiProject Internet$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Investment|WPINVESTMENT|WP[ _]+Investment)\s*([\|}{&lt;\n])", "{{WikiProject Investment$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Iowa|WPIowa|WPIOWA|WP[ _]+Iowa|Project[ _]+Iowa)\s*([\|}{&lt;\n])", "{{WikiProject Iowa$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Iran|WPTIR|WPIRAN|WPIran|WP[ _]+Iran)\s*([\|}{&lt;\n])", "{{WikiProject Iran$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Iraq|WP[ _]+Iraq|Wp[ _]+iraq|Iraq|WPIRAQ)\s*([\|}{&lt;\n])", "{{WikiProject Iraq$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+IRC|IRC[ _]+bots|IRC[ _]+bots|IRC[ _]+bouncers|IRC[ _]+clients|IRC[ _]+clients[ _]+amigaos|IRC[ _]+clients[ _]+macos|IRC[ _]+clients[ _]+msdos|IRC[ _]+clients[ _]+multiplatform|IRC[ _]+clients[ _]+unix|IRC[ _]+clients[ _]+windows|IRC[ _]+daemons|IRC[ _]+networks|IRC[ _]+topics)\s*([\|}{&lt;\n])", "{{WikiProject IRC$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Ireland|WP[ _]+Ireland|WPIRELAND|WPIRL[ _]+Cat|WPIRL[ _]+Category|WPIRL[ _]+cat|WPIRL[ _]+category|WPIre|WPIreland|WikiProject[ _]+Ireland[ _]+Category|WikiProject[ _]+Ireland[ _]+category|WikiProject[ _]+Irish[ _]+Literature)\s*([\|}{&lt;\n])", "{{WikiProject Ireland$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Irish[ _]+Maritime|WPIrish[ _]+Maritime)\s*([\|}{&lt;\n])", "{{WikiProject Irish Maritime$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Irish[ _]+music|WikiProject[ _]+Irish[ _]+Music[ _]+Talk)\s*([\|}{&lt;\n])", "{{WikiProject Irish music$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Irish[ _]+Republicanism|WP IR|WikiProject IRA|WikiProject IrRep)\s*([\|}{&lt;\n])", "{{WikiProject Irish Republicanism$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Islam|WikiProject[ _]+Sunni[ _]+Islam|WPISLAM|WP[ _]+Islam)\s*([\|}{&lt;\n])", "{{WikiProject Islam$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Islands|Islands)\s*([\|}{&lt;\n])", "{{WikiProject Islands$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Israel[ _]+Palestine[ _]+Collaboration|Banner[ _]+WPIPC)\s*([\|}{&lt;\n])", "{{WikiProject Israel Palestine Collaboration$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Israel|Israel|WP[ _]+Israel|WPISRAEL|WPIsrael|WikiProject[ _]+Israel[ _]+category)\s*([\|}{&lt;\n])", "{{WikiProject Israel$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Italy|WPITALY|WP[ _]+Italy|WPItaly|Wpitaly)\s*([\|}{&lt;\n])", "{{WikiProject Italy$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+ITC[ _]+Productions|WikiProject[ _]+ITC-Distributions|Infobox[ _]+ITC[ _]+productions|Infobox[ _]+ITC-Distributions)\s*([\|}{&lt;\n])", "{{WikiProject ITC Productions$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Jackass|WikiprojectJackass)\s*([\|}{&lt;\n])", "{{WikiProject Jackass$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Japan|Nihon|WP[ _]+Japan|WPJ|WPJA|WPJAPAN|WPJapan|WikiProjectJapan|Wikiproject[ _]+Japan|Wikiproject[ _]+japan)\s*([\|}{&lt;\n])", "{{WikiProject Japan$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Japanese[ _]+Bibliography|Japanese[ _]+Bibliography[ _]+project)\s*([\|}{&lt;\n])", "{{WikiProject Japanese Bibliography$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Jazz|WPJAZZ|WPJazz|WP[ _]+Jazz|Jazz-music-project)\s*([\|}{&lt;\n])", "{{WikiProject Jazz$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Jewish[ _]+culture|WikiProject[ _]+Jewish[ _]+Culture)\s*([\|}{&lt;\n])", "{{WikiProject Jewish culture$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Jewish[ _]+history|WikiProject[ _]+Jewish[ _]+History)\s*([\|}{&lt;\n])", "{{WikiProject Jewish history$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Jordan|WPJORDAN|WP[ _]+Jordan|WPJordan)\s*([\|}{&lt;\n])", "{{WikiProject Jordan$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Journalism|WP[ _]+Journalism|WPJournalism|Wikiproject[ _]+Journalism)\s*([\|}{&lt;\n])", "{{WikiProject Journalism$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Judaism|WP[ _]+Judaism|WPJEWISH|WPJUDAISM|WPJudaism|Wikiproject[ _]+Judaism)\s*([\|}{&lt;\n])", "{{WikiProject Judaism$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Kansas[ _]+City[ _]+Chiefs|ChiefsProject)\s*([\|}{&lt;\n])", "{{WikiProject Kansas City Chiefs$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Kansas[ _]+City|KCMO)\s*([\|}{&lt;\n])", "{{WikiProject Kansas City$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Kansas|Project[ _]+Kansas|Wikiproject[ _]+Kansas|WPKANSAS|WPKansas)\s*([\|}{&lt;\n])", "{{WikiProject Kansas$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Kayaking|Kayaking|WikiProject[ _]+Canoeing)\s*([\|}{&lt;\n])", "{{WikiProject Kayaking$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Kazakhstan|WP[ _]+Kazakhstan)\s*([\|}{&lt;\n])", "{{WikiProject Central Asia|Kazakhstan=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Kent|Kent)\s*([\|}{&lt;\n])", "{{WikiProject Kent$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Kentucky|WPKENTUCKY|WPKY|WP[ _]+Kentucky)\s*([\|}{&lt;\n])", "{{WikiProject Kentucky$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Kenya|WP[ _]+Kenya)\s*([\|}{&lt;\n])", "{{WikiProject Africa|Kenya=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+King[ _]+Arthur|WP[ _]+King[ _]+Arthur)\s*([\|}{&lt;\n])", "{{WikiProject King Arthur$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Knots|KnotsProject)\s*([\|}{&lt;\n])", "{{WikiProject Knots$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Korea|WP[ _]+KOREA|WP[ _]+Korea|WPKOREA|WPKorea|WikiProject[ _]+KOREA|WikiProject[ _]+Korea\/old|WikiProject[ _]+korea|Wikiproject[ _]+Korea|Wikiproject[ _]+korea)\s*([\|}{&lt;\n])", "{{WikiProject Korea$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Kosovo|WP[ _]+Kosovo|WPKS|Wikiproject[ _]+Kosovo)\s*([\|}{&lt;\n])", "{{WikiProject Kosovo$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Kurdistan|WPKurds|WP[ _]+Kurdistan|WPKURDISTAN|WPKU)\s*([\|}{&lt;\n])", "{{WikiProject Kurdistan$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Kuwait|WP[ _]+Kuwait)\s*([\|}{&lt;\n])", "{{WikiProject Kuwait$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Kylie[ _]+Minogue|WPKylie)\s*([\|}{&lt;\n])", "{{WikiProject Kylie Minogue$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Lacrosse|WP[ _]+Lacrosse|Lacrosse)\s*([\|}{&lt;\n])", "{{WikiProject Lacrosse$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Lady[ _]+Gaga|WP[ _]+Lady[ _]+Gaga|WPLG)\s*([\|}{&lt;\n])", "{{WikiProject Lady Gaga$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Lakes|Lake[ _]+project)\s*([\|}{&lt;\n])", "{{WikiProject Lakes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Lancashire[ _]+and[ _]+Cumbria|WPL\&amp;C|WikiProject[ _]+Cumbria|WikiProject[ _]+Lancashire)\s*([\|}{&lt;\n])", "{{WikiProject Lancashire and Cumbria$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Languages|LanguageTalk|WP[ _]+Language|WP[ _]+Languages|WP[ _]+languages|WPLANG|WikiProject[ _]+languages|Wplang|WikiProject[ _]+Philology)\s*([\|}{&lt;\n])", "{{WikiProject Languages$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Latin[ _]+America|WP[ _]+Latin[ _]+America|WPLAMERICA)\s*([\|}{&lt;\n])", "{{WikiProject Latin America$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Latin|WP[ _]+Latin)\s*([\|}{&lt;\n])", "{{WikiProject Latin$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Latinos|WPLATINOS)\s*([\|}{&lt;\n])", "{{WikiProject Latinos$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Latter[ _]+Day[ _]+Saint[ _]+movement|LDSproject)\s*([\|}{&lt;\n])", "{{WikiProject Latter Day Saint movement$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Latvia|WPLATVIA|WPLatvia|WP[ _]+Latvia)\s*([\|}{&lt;\n])", "{{WikiProject Latvia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Law[ _]+Enforcement|Law[ _]+enforcement|WPLE|WikiProject[ _]+Law[ _]+enforcement)\s*([\|}{&lt;\n])", "{{WikiProject Law Enforcement$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Law|WPLAW|WPLaw|WikiProject[ _]+law|WP[ _]+Law)\s*([\|}{&lt;\n])", "{{WikiProject Law$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Lebanon|WPLEBANON|WP[ _]+Lebanon)\s*([\|}{&lt;\n])", "{{WikiProject Lebanon$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Lemony[ _]+Snicket|WPSnicket|ASUE[ _]+project|LS[ _]+project)\s*([\|}{&lt;\n])", "{{WikiProject Lemony Snicket$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Lepidoptera|WPL|LepidopteraTalk|WP[ _]+Lepidoptera)\s*([\|}{&lt;\n])", "{{WikiProject Lepidoptera$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Lesotho)\s*([\|}{&lt;\n])", "{{WikiProject Africa|Lesotho=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+LGBT[ _]+studies|LGBTProject|LGBT Wikiproject|WP LGBT|WPLGBT|WikiProject LGBT|WikiProject LGBT Studies)\s*([\|}{&lt;\n])", "{{WikiProject LGBT studies$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Liberalism|WPLiberalism)\s*([\|}{&lt;\n])", "{{WikiProject Liberalism$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Libertarianism|WPLIBERTARIANISM|WPLibertarianism)\s*([\|}{&lt;\n])", "{{WikiProject Libertarianism$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Libraries|WPLibrarians|Library)\s*([\|}{&lt;\n])", "{{WikiProject Libraries$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Library[ _]+of[ _]+Congress[ _]+Country[ _]+Studies|LOCproj)\s*([\|}{&lt;\n])", "{{WikiProject Library of Congress Country Studies$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Life[ _]+On[ _]+Mars|LOMWikiProject)\s*([\|}{&lt;\n])", "{{WikiProject Life On Mars$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Lighthouses|Lighthouse)\s*([\|}{&lt;\n])", "{{WikiProject Lighthouses$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Linguistics|WP[ _]+Lingistics|WP[ _]+Linguistics|WikiProject[ _]+linguistics)\s*([\|}{&lt;\n])", "{{WikiProject Linguistics$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Linux|Tuxproj|Linuxproject|WPLinux)\s*([\|}{&lt;\n])", "{{WikiProject Linux$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Lists|WPLISTS|WP[ _]+Lists)\s*([\|}{&lt;\n])", "{{WikiProject Lists$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Literature|WP[ _]+Literature|WPLIT|WPLITERATURE|WPLit|WikiProject[ _]+literature)\s*([\|}{&lt;\n])", "{{WikiProject Literature$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Lithuania|WPLITHUANIA|WPLithuania|WP[ _]+Lithuania)\s*([\|}{&lt;\n])", "{{WikiProject Lithuania$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+London[ _]+Transport|Tube|WPLT|WP[ _]+London[ _]+Transport)\s*([\|}{&lt;\n])", "{{WikiProject London Transport$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+London|WP[ _]+London|WPLONDON|WPLondon)\s*([\|}{&lt;\n])", "{{WikiProject London$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Long[ _]+Island|WikiProject[ _]+Long[ _]+Island[ _]+Banner|WikiProject[ _]+Long[ _]+Island[ _]+banner|Wli|WPLI|WP[ _]+Long[ _]+Island)\s*([\|}{&lt;\n])", "{{WikiProject Long Island$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Lost|Lost)\s*([\|}{&lt;\n])", "{{WikiProject Lost$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Louisiana|WPLOUISIANA)\s*([\|}{&lt;\n])", "{{WikiProject Louisiana$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Louisville|LouisvilleWikiProject)\s*([\|}{&lt;\n])", "{{WikiProject Louisville$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Lowell,[ _]+Massachusetts|WikiProject[ _]+Lowell)\s*([\|}{&lt;\n])", "{{WikiProject Lowell, Massachusetts$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Lower[ _]+Saxony|WP[ _]+Lower[ _]+Saxony)\s*([\|}{&lt;\n])", "{{WikiProject Lower Saxony$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Luxembourg|WikiProject[ _]+Luxembourg[ _]+article|WPLuxembourg)\s*([\|}{&lt;\n])", "{{WikiProject Luxembourg$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Macau|WPMacau|WPMACAU)\s*([\|}{&lt;\n])", "{{WikiProject Macau$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Machinima|MachinimaWikiProject|WPMachinima)\s*([\|}{&lt;\n])", "{{WikiProject Machinima$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Madagascar)\s*([\|}{&lt;\n])", "{{WikiProject Africa|Madagascar=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Magazines|WP[ _]+Magazine|WP[ _]+Magazines|WPMAG|WPMAGS|WPMag|WPMags|WikiProject[ _]+Magazine)\s*([\|}{&lt;\n])", "{{WikiProject Magazines$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Magic\:[ _]+The[ _]+Gathering|Mtgproject)\s*([\|}{&lt;\n])", "{{WikiProject Magic: The Gathering$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Magic|Magic)\s*([\|}{&lt;\n])", "{{WikiProject Magic$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Maine|WPMAINE)\s*([\|}{&lt;\n])", "{{WikiProject Maine$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Malawi)\s*([\|}{&lt;\n])", "{{WikiProject Africa|Malawi=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Malaysia|WP[ _]+Malaysia|WPMALAYSIA|Wikiproject[ _]+Malaysia|WPMalaysia|MY)\s*([\|}{&lt;\n])", "{{WikiProject Malaysia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Maldives|WP[ _]+Maldives|WPMaldives)\s*([\|}{&lt;\n])", "{{WikiProject Maldives$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Mali)\s*([\|}{&lt;\n])", "{{WikiProject Africa|Mali=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Malta|WPMALTA|WP[ _]+Malta)\s*([\|}{&lt;\n])", "{{WikiProject Malta$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Mammals|MaMTalk|MaTalk|Mammals[ _]+WikiProject|WPM|MammalTalk|WPMammals|WPMAM|WP[ _]+Animal|WP[ _]+Mammals|Mammal)\s*([\|}{&lt;\n])", "{{WikiProject Mammals$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Manual[ _]+of[ _]+Style|WPMOS)\s*([\|}{&lt;\n])", "{{WikiProject Manual of Style$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Marine[ _]+life|WPMBA|Marine[ _]+life|Marine[ _]+Life[ _]+Talk)\s*([\|}{&lt;\n])", "{{WikiProject Marine life$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Maritime[ _]+Trades|WPMT)\s*([\|}{&lt;\n])", "{{WikiProject Maritime Trades$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Martial[ _]+arts|WP[ _]+Martial[ _]+Arts|Martialartsproject|WikiProject[ _]+Martial[ _]+Arts)\s*([\|}{&lt;\n])", "{{WikiProject Martial arts$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Maryland|WPMARYLAND|WPMD|WP[ _]+Maryland)\s*([\|}{&lt;\n])", "{{WikiProject Maryland$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Massachusetts|Project[ _]+massachusetts[ _]+assessment|WPMASSACHUSETTS|WPMASS|WP[ _]+Massachusetts|WPMassachusetts|Project[ _]+Massachusetts)\s*([\|}{&lt;\n])", "{{WikiProject Massachusetts$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Mathematics[ _]+Competitions|WPMC)\s*([\|}{&lt;\n])", "{{WikiProject Mathematics Competitions$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Mauritania)\s*([\|}{&lt;\n])", "{{WikiProject Africa|Mauritania=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Measurement|Measure|Measurement|WP[ _]+Measurements|WPMeasure|Wp[ _]+measurement)\s*([\|}{&lt;\n])", "{{WikiProject Measurement$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Media[ _]+franchises|WikiProject[ _]+Media[ _]+franchises[ _]+CoopBanner)\s*([\|}{&lt;\n])", "{{WikiProject Media franchises$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Media|WPMedia|WPMEDIA|WP[ _]+Media)\s*([\|}{&lt;\n])", "{{WikiProject Media$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Medicine|CMedWikiProject|WP[ _]+Medicine|WPMED|WPMEDICINE|WPMedicine|WikiProject[ _]+Emergency[ _]+medical[ _]+services|Wikiproject[ _]+Medicine|Wikiproject[ _]+Medicines)\s*([\|}{&lt;\n])", "{{WikiProject Medicine$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Medieval[ _]+Scotland|Medieval[ _]+Scotland)\s*([\|}{&lt;\n])", "{{WikiProject Medieval Scotland$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Melanesia|WP[ _]+Melanesia)\s*([\|}{&lt;\n])", "{{WikiProject Melanesia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Vanuatu)\s*([\|}{&lt;\n])", "{{WikiProject Melanesia|Vanuatu=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Merseyside|WPMERSEY)\s*([\|}{&lt;\n])", "{{WikiProject Merseyside$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Mesoamerica|Project[ _]+Aztec|ProjectAztec|WP[ _]+Aztec|WP[ _]+Mesoamerica)\s*([\|}{&lt;\n])", "{{WikiProject Mesoamerica$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Metal|Wikiproject[ _]+Metal|HMM|WP[ _]+Metal|Metal)\s*([\|}{&lt;\n])", "{{WikiProject Metal$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Metalworking|Metalworking|WP[ _]+Metalworking|WikiProject[ _]+metalworking|Wikiproject[ _]+metalworking)\s*([\|}{&lt;\n])", "{{WikiProject Metalworking$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Meteorology|Meteorology|WP[ _]+Meteorology|Meteo)\s*([\|}{&lt;\n])", "{{WikiProject Meteorology$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Method[ _]+engineering|MEEproj)\s*([\|}{&lt;\n])", "{{WikiProject Method engineering$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Mexico|ProjectMexico|WPMEXICO|WP[ _]+Mexico|Mexico)\s*([\|}{&lt;\n])", "{{WikiProject Mexico$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Michigan|WPMICHIGAN)\s*([\|}{&lt;\n])", "{{WikiProject Michigan$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Microbiology|Microbiology|WP[ _]+Microbiology|WikiProject[ _]+Micro)\s*([\|}{&lt;\n])", "{{WikiProject Microbiology$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Microformats|ProjectMicroformats)\s*([\|}{&lt;\n])", "{{WikiProject Microformats$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Micronesia|WikiProject[ _]+Marshall[ _]+Islands|WPMICRONESIA|WPMicronesia|WikiProject[ _]+Guam)\s*([\|}{&lt;\n])", "{{WikiProject Micronesia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Microsoft[ _]+Windows|WikiProject[ _]+Windows|WPWindows)\s*([\|}{&lt;\n])", "{{WikiProject Microsoft Windows$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Middle[ _]+Ages|WPMA|WP[ _]+Middle[ _]+Ages)\s*([\|}{&lt;\n])", "{{WikiProject Middle Ages$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Middle\-earth|ME\-category|ME\-project|ME\-template|Me\-project|Tolkien\-project|WPME|WPMiddle\-earth)\s*([\|}{&lt;\n])", "{{WikiProject Middle-earth$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Military[ _]+history|WPMILHIST|MILHIST|Milhist|Military[ _]+history[ _]+WikiProject|WP[ _]+Military[ _]+History|WPCAS|WikiProject[ _]+Colditz|WikiProject[ _]+Military[ _]+History)\s*([\|}{&lt;\n])", "{{WikiProject Military history$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Mining|WP[ _]+Mining|Mining)\s*([\|}{&lt;\n])", "{{WikiProject Mining$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Minnesota[ _]+Vikings|MinnesotaVikingsProject)\s*([\|}{&lt;\n])", "{{WikiProject Minnesota Vikings$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Minnesota|WPMINNESOTA|WP[ _]+Minnesota)\s*([\|}{&lt;\n])", "{{WikiProject Minnesota$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Missing[ _]+encyclopedic[ _]+articles|MEA-expand|Wikipedia\:WikiProject Missing encyclopedic articles)\s*([\|}{&lt;\n])", "{{WikiProject Missing encyclopedic articles$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Mississippi|WPMISS|WPMiss|WPMISSISSIPPI|WP[ _]+Mississippi)\s*([\|}{&lt;\n])", "{{WikiProject Mississippi$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Missouri|WPMissouri|WPMISSOURI|WP[ _]+Missouri|WPMO|WP[ _]+MO)\s*([\|}{&lt;\n])", "{{WikiProject Missouri$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Mixed[ _]+martial[ _]+arts|WikiProject[ _]+Mixed[ _]+Martial[ _]+Arts)\s*([\|}{&lt;\n])", "{{WikiProject Mixed martial arts$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Mizzou|WikiProject[ _]+University[ _]+of[ _]+Missouri|WikiProject[ _]+Mizzou[ _]+people)\s*([\|}{&lt;\n])", "{{WikiProject Mizzou$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Moldova|WPMoldova|WP[ _]+Moldova)\s*([\|}{&lt;\n])", "{{WikiProject Moldova$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Molecular[ _]+and[ _]+Cellular[ _]+Biology|MCB|Metabolic[ _]+pathway|Molecular[ _]+and[ _]+Cellular[ _]+Biology[ _]+WikiProject|WP[ _]+MCB|WPMCB|WikiProject[ _]+MCB|Wikiproject[ _]+MCB|Wikiproject[ _]+mcb)\s*([\|}{&lt;\n])", "{{WikiProject Molecular and Cellular Biology$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Montana|WPMONTANA|WP[ _]+Montana)\s*([\|}{&lt;\n])", "{{WikiProject Montana$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Monaco|WP[ _]+Monaco)\s*([\|}{&lt;\n])", "{{WikiProject  European Microstate|Monaco=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Montenegro|WP[ _]+Montenegro)\s*([\|}{&lt;\n])", "{{WikiProject Montenegro$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Monty[ _]+Python|WP[ _]+Monty[ _]+Python|WPMP)\s*([\|}{&lt;\n])", "{{WikiProject Monty Python$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Moon|WPMoon)\s*([\|}{&lt;\n])", "{{WikiProject Moon$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Morocco|Wikiproject[ _]+Morocco|WPMOROCCO|WPMorocco|WP[ _]+Morocco)\s*([\|}{&lt;\n])", "{{WikiProject Morocco$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Motorcycle[ _]+racing|Motorcycle[ _]+Racing)\s*([\|}{&lt;\n])", "{{WikiProject Motorcycle racing$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Motorcycling|Motorcycling|Motorcycle[ _]+article|WikiProject[ _]+Motorcycle)\s*([\|}{&lt;\n])", "{{WikiProject Motorcycling$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Motorsport|WPMS|Motorsport|WikiProject[ _]+Motorsports)\s*([\|}{&lt;\n])", "{{WikiProject Motorsport$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Mountains[ _]+of[ _]+the[ _]+Alps|Mountains[ _]+of[ _]+the[ _]+Alps)\s*([\|}{&lt;\n])", "{{WikiProject Mountains of the Alps$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Mountains|Mountain|WP[ _]+Mountains|Wpm|Mountain[ _]+Pass|WikiProject[ _]+Mountain[ _]+Passes)\s*([\|}{&lt;\n])", "{{WikiProject Mountains$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Mozambique)\s*([\|}{&lt;\n])", "{{WikiProject Africa|Mozambique=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Museums|WikiProject[ _]+Museum|WPMUSEUMS|WP[ _]+Museum|WP[ _]+Museums)\s*([\|}{&lt;\n])", "{{WikiProject Museums$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Music[ _]+genres|WikiProject[ _]+Music[ _]+Genres|Genre)\s*([\|}{&lt;\n])", "{{WikiProject Music genres$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Music[ _]+of[ _]+the[ _]+United[ _]+Kingdom|WP[ _]+UKMusic)\s*([\|}{&lt;\n])", "{{WikiProject Music of the United Kingdom$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Music[ _]+Theory|WP[ _]+Music[ _]+Theory|WikiProject[ _]+Music[ _]+theory)\s*([\|}{&lt;\n])", "{{WikiProject Music Theory$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Musical[ _]+Instruments|Catbox[ _]+WPMusInst|WPMUSINST|WPMusInst)\s*([\|}{&lt;\n])", "{{WikiProject Musical Instruments$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Musical[ _]+Theatre|Musicals|Musicals-Project|Musicals-project)\s*([\|}{&lt;\n])", "{{WikiProject Musical Theatre$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Myanmar[ _]+\(Burma\)|WP[ _]+Burma|WPBURMA|WikiProject[ _]+Burma|WikiProject[ _]+Myanmar|WikiProjectBurma\/Myanmar)\s*([\|}{&lt;\n])", "{{WikiProject Myanmar (Burma)$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Mythology|WP[ _]+Mythology|WikiProject[ _]+mythology|Wikiproject[ _]+Mythology|Wikiproject[ _]+mythology)\s*([\|}{&lt;\n])", "{{WikiProject Mythology$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+NASCAR|Wikiproject[ _]+NASCAR|WPN)\s*([\|}{&lt;\n])", "{{WikiProject NASCAR$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Namibia)\s*([\|}{&lt;\n])", "{{WikiProject Africa|Namibia=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+National[ _]+Archives|WPNARA)\s*([\|}{&lt;\n])", "{{WikiProject National Archives$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+National[ _]+Football[ _]+League|NFL[ _]+Project|NFLProject|NFLproject|WikiProject[ _]+NFL)\s*([\|}{&lt;\n])", "{{WikiProject National Football League$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+National[ _]+Health[ _]+Service|WPNationalHealthService)\s*([\|}{&lt;\n])", "{{WikiProject National Health Service$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+National[ _]+Institutes[ _]+of[ _]+Health|WikiProject[ _]+NIH)\s*([\|}{&lt;\n])", "{{WikiProject National Institutes of Health$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+National[ _]+Institutes[ _]+of[ _]+Health|WikiProject[ _]+NIH)\s*([\|}{&lt;\n])", "{{WikiProject National Institutes of Health$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+National[ _]+Register[ _]+of[ _]+Historic[ _]+Places|WikiProject[ _]+National[ _]+Register[ _]+of[ _]+Historic[ _]+Places[ _]+list|WikiProject[ _]+National[ _]+Register[ _]+of[ _]+Historic[ _]+Places[ _]+category|WikiProject[ _]+NRHP|WPNRHP|Wikiproject[ _]+NRHP|NRHP[ _]+Wikiproject|WP[ _]+NRHP)\s*([\|}{&lt;\n])", "{{WikiProject National Register of Historic Places$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+NBA|WP[ _]+NBA|NBA[ _]+project|WikiProject[ _]+Phoenix[ _]+Suns|WikiProject[ _]+Cleveland[ _]+Cavaliers|WikiProject[ _]+Dallas[ _]+Mavericks|WikiProject[ _]+Chicago[ _]+Bulls|NBA[ _]+Project|Wikiproject[ _]+NBA)\s*([\|}{&lt;\n])", "{{WikiProject National Basketball Association$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+NCSLC|NCSLC)\s*([\|}{&lt;\n])", "{{WikiProject NCSLC$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Nebraska|WPNEBRASKA)\s*([\|}{&lt;\n])", "{{WikiProject Nebraska$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Neopaganism|WikiProjectNeopaganism)\s*([\|}{&lt;\n])", "{{WikiProject Neopaganism$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Nepal|WPNEPAL|WP[ _]+Nepal)\s*([\|}{&lt;\n])", "{{WikiProject Nepal$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Netball|Netball)\s*([\|}{&lt;\n])", "{{WikiProject Netball$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Netherlands|WPNL|Netherlands|WP[ _]+Netherlands|WPNETHERLANDS|WPNetherlands|Wikiproject[ _]+Netherlands|WikiProject[ _]+Holland|WP[ _]+Holland|WPHolland)\s*([\|}{&lt;\n])", "{{WikiProject Netherlands$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Neuroscience|WPNEURO|WP[ _]+Neuroscience)\s*([\|}{&lt;\n])", "{{WikiProject Neuroscience$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Nevada|Wplv|WikiProject[ _]+Las[ _]+Vegas|WPNEVADA|WP[ _]+Nevada)\s*([\|}{&lt;\n])", "{{WikiProject Nevada$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+New[ _]+England[ _]+Patriots|NewEnglandPatriotsProject|NewEnglandPatriotsproject)\s*([\|}{&lt;\n])", "{{WikiProject New England Patriots$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+New[ _]+Hampshire[ _]+Mountains|New[ _]+Hampshire[ _]+Mountains|Wikiproject[ _]+New[ _]+Hampshire[ _]+Mountains)\s*([\|}{&lt;\n])", "{{WikiProject New Hampshire Mountains$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+New[ _]+Hampshire|Project[ _]+new[ _]+hampshire|WPNH|Project[ _]+New[ _]+Hampshire|WP[ _]+New[ _]+Hampshire)\s*([\|}{&lt;\n])", "{{WikiProject New Hampshire$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+New[ _]+Jersey|Wikiproject[ _]+New[ _]+Jersey|WPNJ|Project[ _]+New[ _]+Jersey|WP[ _]+New[ _]+Jersey|WPNewJersey)\s*([\|}{&lt;\n])", "{{WikiProject New Jersey$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+New[ _]+Mexico|WPNEWMEXICO)\s*([\|}{&lt;\n])", "{{WikiProject New Mexico$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+New[ _]+Orleans|WPNEWORLEANS)\s*([\|}{&lt;\n])", "{{WikiProject New Orleans$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+New[ _]+York[ _]+City[ _]+Public[ _]+Transportation|NYPT|WPNYPT)\s*([\|}{&lt;\n])", "{{WikiProject New York City Public Transportation$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+New[ _]+York[ _]+City|WPNYC|WP[ _]+NYC|Project[ _]+NYC|WikiProject[ _]+NYC|Wikiproject[ _]+New[ _]+York[ _]+City|Project[ _]+New[ _]+York[ _]+City)\s*([\|}{&lt;\n])", "{{WikiProject New York City$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+New[ _]+York[ _]+Giants|NYG|NewYorkGiantsProject)\s*([\|}{&lt;\n])", "{{WikiProject New York Giants$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+New[ _]+York[ _]+Jets|New[ _]+York[ _]+Jets[ _]+project)\s*([\|}{&lt;\n])", "{{WikiProject New York Jets$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+New[ _]+York[ _]+Theatre|Broadway-category|Broadway-project)\s*([\|}{&lt;\n])", "{{WikiProject New York Theatre$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+New[ _]+York|WikiProject[ _]+New[ _]+York[ _]+State|WPNY|WP[ _]+New[ _]+York|WPNewYork)\s*([\|}{&lt;\n])", "{{WikiProject New York$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+New[ _]+Zealand|New[ _]+Zealand[ _]+WikiProject|WP[ _]+NZ|WP[ _]+New[ _]+Zealand|WPNZ)\s*([\|}{&lt;\n])", "{{WikiProject New Zealand$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Nicaragua)\s*([\|}{&lt;\n])", "{{WikiProject Central America|Nicaragua=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Nickelodeon|Wikiproject[ _]+Nickelodeon)\s*([\|}{&lt;\n])", "{{WikiProject Nickelodeon$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Niger)\s*([\|}{&lt;\n])", "{{WikiProject Africa|Niger=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Nigeria|WP[ _]Nigeria|WPNIGERIA|WPNigeria)\s*([\|}{&lt;\n])", "{{WikiProject Nigeria$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Non-tropical[ _]+storms|Non\-tropical|Storm|WikiProject[ _]+Winter[ _]+Storms|Winter[ _]+Storms|Winterstorm)\s*([\|}{&lt;\n])", "{{WikiProject Non-tropical storms$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Nortel|WP[ _]+Nortel)\s*([\|}{&lt;\n])", "{{WikiProject Nortel$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+North[ _]+Carolina|WPNC|WPNORTHCAROLINA|WP[ _]+North[ _]+Carolina|Project[ _]+North[ _]+Carolina)\s*([\|}{&lt;\n])", "{{WikiProject North Carolina$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+North[ _]+Dakota|WP[ _]+North[ _]+Dakota)\s*([\|}{&lt;\n])", "{{WikiProject North Dakota$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+North[ _]+East[ _]+England|WPNEE|WPNorthEastEngland|WPTyneandWear|WikiProject[ _]+Tyne[ _]+and[ _]+Wear|WikiProjectNorthEastEngland|WikiProjectTyneandWear)\s*([\|}{&lt;\n])", "{{WikiProject North East England$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Northamptonshire|WPNorthants|WPNorthamptonshire)\s*([\|}{&lt;\n])", "{{WikiProject Northamptonshire$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Northern[ _]+Ireland|WPNI[ _]+category|WPNI|WPNorthernIreland)\s*([\|}{&lt;\n])", "{{WikiProject Northern Ireland$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Norway|NorwayProject|WP[ _]+Norway|WPNORWAY|WPNorway|Wikiproject[ _]+Norway)\s*([\|}{&lt;\n])", "{{WikiProject Norway$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Novels|Novel|Novelinfoboxincomp|Novels|Novels[ _]+WikiProject|NovelsWikiProject|WP[ _]+Novels|WPNovels)\s*([\|}{&lt;\n])", "{{WikiProject Novels$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Nudity|WPNudity)\s*([\|}{&lt;\n])", "{{WikiProject Nudity$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Numbers|NumberTalk)\s*([\|}{&lt;\n])", "{{WikiProject Numbers$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Numismatics|Exonumianotice|Numismaticnotice)\s*([\|}{&lt;\n])", "{{WikiProject Numismatics$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Nursing|WPNURSE)\s*([\|}{&lt;\n])", "{{WikiProject Nursing$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Objectivism|Project[ _]+Objectivism)\s*([\|}{&lt;\n])", "{{WikiProject Objectivism$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Occult|WikiTalk[ _]+Occult|WPOccult|WikiProject[ _]+Occult\/Template\:WikiProject[ _]+Occult)\s*([\|}{&lt;\n])", "{{WikiProject Occult$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Oceans|Oceanology|WP[ _]+Oceans|WP[ _]+Oceanography)\s*([\|}{&lt;\n])", "{{WikiProject Oceans$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Ohio|Wikiproject[ _]+Ohio|WPOHIO|WP[ _]+Ohio|OH-Project)\s*([\|}{&lt;\n])", "{{WikiProject Ohio$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Oklahoma|WPOK|WPOKLAHOMA)\s*([\|}{&lt;\n])", "{{WikiProject Oklahoma$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Olympics|WP[ _]+Olympics|OlympicsWikiProject|WP[ _]+Olympics|WPOlympics|WikiProjectOlympics)\s*([\|}{&lt;\n])", "{{WikiProject Olympics$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Opera|WP[ _]+Opera|Castrato|Librettist|Opera|Opera[ _]+\(non\-article\)|Opera[ _]+\(portal\)|Opera1|Russian[ _]+opera|Singer|Singer1|WPOPERA)\s*([\|}{&lt;\n])", "{{WikiProject Opera$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Optare|WP[ _]+Darwen[ _]+Holdings|WP[ _]+Optare)\s*([\|}{&lt;\n])", "{{WikiProject Optare$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Orders,[ _]+Decorations,[ _]+and[ _]+Medals|WPODMBanner|WPODM)\s*([\|}{&lt;\n])", "{{WikiProject Orders, Decorations, and Medals$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Oregon[ _]+government|Wikiproject[ _]+Oregon[ _]+government)\s*([\|}{&lt;\n])", "{{WikiProject Oregon government$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Oregon|Wikiproject[ _]+Oregon|WPOREGON|WP[ _]+Oregon)\s*([\|}{&lt;\n])", "{{WikiProject Oregon$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Organismal[ _]+Biomechanics|OBTalk)\s*([\|}{&lt;\n])", "{{WikiProject Organismal Biomechanics$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Organizations|WikiProject[ _]+Organizations[ _]+CoopBanner|Organizations|WikiProject[ _]+Organization|WikiProject[ _]+Organisations|WP[ _]+Organisation|WPORG|WPOrganizations|WPOrganisations|WP[ _]+Organizations)\s*([\|}{&lt;\n])", "{{WikiProject Organizations$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Organized[ _]+Labour|LabourCatProject|LabourProject|WikiProject[ _]+Labour|WikiProject[ _]+Trade[ _]+Unions)\s*([\|}{&lt;\n])", "{{WikiProject Organized Labour$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Ossetia|WP[ _]+Ossetia|OssetiaProject)\s*([\|}{&lt;\n])", "{{WikiProject Ossetia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Ottawa|Ottawaproject|OttawaProject)\s*([\|}{&lt;\n])", "{{WikiProject Ottawa$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Outline[ _]+of[ _]+knowledge|WikiProject[ _]+Topical[ _]+outlines)\s*([\|}{&lt;\n])", "{{WikiProject Outline of knowledge$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Paintball|WikiPB)\s*([\|}{&lt;\n])", "{{WikiProject Paintball$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Pakistan|WP[ _]+History[ _]+of[ _]+Pakistan|WP[ _]+Pakistan|WP PAK|WPPAKISTAN|WPPakistan|Wikipedia\:[_]+WikiProject[ _]+Pakistan\/Project[ _]+banner)\s*([\|}{&lt;\n])", "{{WikiProject Pakistan$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Palaeontology|WP[ _]+Palaeontology|WikiProject[ _]+Paleontology|WP[ _]+Paleontology)\s*([\|}{&lt;\n])", "{{WikiProject Palaeontology$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Palestine|WP[ _]+Palestine)\s*([\|}{&lt;\n])", "{{WikiProject Palestine$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Panama|WP[ _]+Panama|WPPanama)\s*([\|}{&lt;\n])", "{{WikiProject Central America|Panama=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Paraguay|Wikiproject[ _]+paraguay)\s*([\|}{&lt;\n])", "{{WikiProject Paraguay$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Paranormal|Paranormal[ _]+Watchers|WikiProject[ _]+Paranormal1|WikiProject[ _]+Supernatural|Wikiproject[ _]+Paranormal)\s*([\|}{&lt;\n])", "{{WikiProject Paranormal$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Pashtun|PashtunWikiProject)\s*([\|}{&lt;\n])", "{{WikiProject Pashtun$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+PDD|Hallucinogen-project|WikiProject[ _]+Hallucinogens|WPPDD|WikiProject[ _]+PDD)\s*([\|}{&lt;\n])", "{{WikiProject Psychedelics, Dissociatives and Deliriants$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Pedophilia[ _]+Article[ _]+Watch|PAW|WikiProject[ _]+Pedophilia[ _]+Article[ _]+Watch\/WikiProjectNotice)\s*([\|}{&lt;\n])", "{{WikiProject Pedophilia Article Watch$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Pennsylvania[ _]+State[ _]+University|Penn[ _]+State)\s*([\|}{&lt;\n])", "{{WikiProject Pennsylvania State University$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Pennsylvania|WPPENNSYLVANIA|WP[ _]+Pennsylvania)\s*([\|}{&lt;\n])", "{{WikiProject Pennsylvania$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Percussion|WPPerc|WPPERCUSSION|WPPERC)\s*([\|}{&lt;\n])", "{{WikiProject Percussion$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Peru|PeruProjectBanner|WP[ _]+PERU|WP[ _]+Peru|WPPERU)\s*([\|}{&lt;\n])", "{{WikiProject Peru$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Pharmacology|DrugsNotice|PHARMA|WPPHARM|WikiProject[ _]+Pharmacology[ _]+CoopBanner|Wikiproject[ _]+Pharmacology)\s*([\|}{&lt;\n])", "{{WikiProject Pharmacology$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Pharmacology|WikiProject[ _]+Pharmacology[ _]+CoopBanner|DrugsNotice|PHARMA|WPPHARM|Wikiproject[ _]+Pharmacology)\s*([\|}{&lt;\n])", "{{WikiProject Pharmacology$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Philadelphia|WPPHILADELPHIA|Philly|WP[ _]+Philadelphia)\s*([\|}{&lt;\n])", "{{WikiProject Philadelphia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Philately|Philately|Philately[ _]+article[ _]+banner|Philately[ _]+project|WikiProject[ _]+Philately[ _]+Notice|WikiProject[ _]+philately)\s*([\|}{&lt;\n])", "{{WikiProject Philately$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Philippines|TAMBAY[ _]+NOTICE|WP[ _]+Philippines|WPPHILIPPINES|WPPhilippines|WikiProject[ _]+Philippines|Wikipedia\:Tambayan[ _]+Philippines\/notice|Wikipedia\:Tambayan[ _]+Philippines\/notice|Wikipedia\:WikiProject[ _]+Philippines\/notice)\s*([\|}{&lt;\n])", "{{WikiProject Tambayan Philippines$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Philosophy|CriticalTheory|WP[ _]+Philosophy|WPPhilosophy|Philosophy)\s*([\|}{&lt;\n])", "{{WikiProject Philosophy$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Phonetics|WP[ _]+Phonetics)\s*([\|}{&lt;\n])", "{{WikiProject Phonetics$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Photography|WikiProject[ _]+photography|WP[ _]+Photography|WPPhotography)\s*([\|}{&lt;\n])", "{{WikiProject Photography$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Physics|WPPhysics|WP[ _]+Physics|Physics)\s*([\|}{&lt;\n])", "{{WikiProject Physics$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Piers|PiersProject)\s*([\|}{&lt;\n])", "{{WikiProject Piers$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Pinball|Wikiproject[ _]+Pinball)\s*([\|}{&lt;\n])", "{{WikiProject Pinball$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Pink[ _]+Floyd|WPFloyd)\s*([\|}{&lt;\n])", "{{WikiProject Pink Floyd$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Pipe[ _]+Organ|PipeOrgan-project-page)\s*([\|}{&lt;\n])", "{{WikiProject Pipe Organ$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Piracy|WPPIRACY|WP-Piracybanner)\s*([\|}{&lt;\n])", "{{WikiProject Piracy$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Pittsburgh[ _]+Steelers|Pittsburgh[ _]+Steelers[ _]+project)\s*([\|}{&lt;\n])", "{{WikiProject Pittsburgh Steelers$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Pittsburgh|Pghproj|PittsburghWikiProject|WP[ _]+Pittsburgh)\s*([\|}{&lt;\n])", "{{WikiProject Pittsburgh$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Plants|WP[ _]+Plants)\s*([\|}{&lt;\n])", "{{WikiProject Plants$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Podcasting|Wikiproject[ _]+Podcasting)\s*([\|}{&lt;\n])", "{{WikiProject Podcasting$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Poetry|WPPoetry|WP[ _]+Poetry|Poetry)\s*([\|}{&lt;\n])", "{{WikiProject Poetry$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Pokémon|PCP|WikiProject[ _]+Pokemon|Pokeproject|WikiProject[ _]+Pok)\s*([\|}{&lt;\n])", "{{WikiProject Pokémon$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Poker|Poker|WP[ _]+Poker)\s*([\|}{&lt;\n])", "{{WikiProject Poker$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Poland|POLAND|WPPOLAND|PRWNB|PWNB|WP[ _]+Poland|Polish[ _]+Wikipedians[ _]+Noticeboard|Polish[ _]+Wikipedians[ _]+notice[ _]+board|Polish[ _]+Wikipedians\'[ _]+Noticeboard|Polish[ _]+Wikipedians\'[ _]+notice[ _]+board|Polish[ _]+Wikipedians\'[ _]+noticeboard|Polish[ _]+wikipedians[ _]+notice[ _]+board|Polish[ _]+wikipedians\'[ _]+notice[ _]+board[ _]+|Polish[ _]+wikipedians\'[ _]+noticeboard|WNBP|WPPL)\s*([\|}{&lt;\n])", "{{WikiProject Poland$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Policy[ _]+and[ _]+Guidelines|WikiProject[ _]+Policy )\s*([\|}{&lt;\n])", "{{WikiProject Policy and Guidelines$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Political[ _]+parties|WikiProject[ _]+Political[ _]+Parties)\s*([\|}{&lt;\n])", "{{WikiProject Political parties$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Politics[ _]+of[ _]+the[ _]+United[ _]+Kingdom|UK[ _]+Politics|WP[ _]+UK[ _]+Politics|WikiProject[ _]+British[ _]+Government)\s*([\|}{&lt;\n])", "{{WikiProject Politics of the United Kingdom$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Politics|PLT|POLITICS|WikiProjectPolitics|Wikiproject[ _]+Politics|WP[ _]+Politics|WPPolitics|Wikiproject[ _]+politics)\s*([\|}{&lt;\n])", "{{WikiProject Politics$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Polynesia|WPPOLYNESIA|WP[ _]+Polynesia )\s*([\|}{&lt;\n])", "{{WikiProject Polynesia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Popular[ _]+Culture|WP[ _]+Popular[ _]+Culture|WP[ _]+Popular[ _]+culture|WikiProject[ _]+Popular[ _]+culture|WikiProject[ _]+Trivia[ _]+and[ _]+Popular[ _]+Culture)\s*([\|}{&lt;\n])", "{{WikiProject Popular Culture$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Pornography|Pornstars|Porn[ _]+project|Pornproject|WPPORN)\s*([\|}{&lt;\n])", "{{WikiProject Pornography$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Ports|WP[ _]+Ports)\s*([\|}{&lt;\n])", "{{WikiProject Ports$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Portugal|WPPT|WPPORTUGAL|WPPortugal|WP[ _]+Portugal)\s*([\|}{&lt;\n])", "{{WikiProject Portugal$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Powderfinger|Powderfinger[ _]+Banner)\s*([\|}{&lt;\n])", "{{WikiProject Powderfinger$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Power[ _]+in[ _]+international[ _]+relations|PIIR[ _]+article)\s*([\|}{&lt;\n])", "{{WikiProject Power in international relations$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Prescott-Russell|PrescottRussellProject)\s*([\|}{&lt;\n])", "{{WikiProject Prescott-Russell$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Primates|PrimateTalk|WPPrimates )\s*([\|}{&lt;\n])", "{{WikiProject Primates$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Prison[ _]+Break|Wikiproject[ _]+prison[ _]+break)\s*([\|}{&lt;\n])", "{{WikiProject Prison Break$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Private[ _]+Equity|Private[ _]+Equity|WikiProject[ _]+Biography\/PrivateEquity|WikiProject[ _]+Companies\/Private[ _]+Equity[ _]+Task[ _]+Force|WikiProject[ _]+Companies\/PrivateEquity|WikiProject[ _]+Finance\/Private[ _]+Equity[ _]+Task[ _]+Force|WikiProject[ _]+Finance\/PrivateEquity|WikiProject[ _]+Private[ _]+Equity[ _]+Task[ _]+Force)\s*([\|}{&lt;\n])", "{{WikiProject Private Equity$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Pro[ _]+Gaming|Wikiproject[ _]+Pro[ _]+Gaming)\s*([\|}{&lt;\n])", "{{WikiProject Pro Gaming$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Professional[ _]+wrestling|Pro\-wrestling|Project[ _]+MoW|Project[ _]+Music[ _]+of[ _]+wrestling|WikiProject[ _]+Professional[ _]+Wrestling|pro\-wrestling)\s*([\|}{&lt;\n])", "{{WikiProject Professional wrestling$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Progressive[ _]+Rock|Progressive[ _]+Rock|WP[ _]+Progressive[ _]+Rock)\s*([\|}{&lt;\n])", "{{WikiProject Progressive Rock$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Protected[ _]+areas|Messagebox[ _]+protected[ _]+areas|WikiProject[ _]+Protected[ _]+Areas)\s*([\|}{&lt;\n])", "{{WikiProject Protected areas$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Psychology|WP[ _]+Psychology|WPP|WPPSY|WPPSYCHOLOGY|WPPsychology|WikiProject[ _]+psychology|Wikiproject[ _]+Psychology)\s*([\|}{&lt;\n])", "{{WikiProject Psychology$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Psychopathic[ _]+Records|PsychopathicRecordsProject|CurrentWPPsycopathAoF)\s*([\|}{&lt;\n])", "{{WikiProject Psychopathic Records$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Puerto[ _]+Rico|WPPUERTORICO|PuertoRicoproj|WP[ _]+Puerto[ _]+Rico)\s*([\|}{&lt;\n])", "{{WikiProject Puerto Rico$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Punjab|WP[ _]+Punjab)\s*([\|}{&lt;\n])", "{{WikiProject Punjab$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Punk[ _]+music|WP[ _]+Punk|WP[ _]+Punk[ _]+music|PRM|PUNK|Punk[ _]+music|Punk[ _]+rock|Wikiproject[ _]+Punk|Wikiproject[ _]+punk|Wikiproject[ _]+punk[ _]+rock|Wikiproject[ _]+Punk[ _]+music)\s*([\|}{&lt;\n])", "{{WikiProject Punk music$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Qatar|WPQatar)\s*([\|}{&lt;\n])", "{{WikiProject Qatar$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Queen|Queen[ _]+WikiProject|WPQueen)\s*([\|}{&lt;\n])", "{{WikiProject Queen$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Queens[ _]+of[ _]+the[ _]+Stone[ _]+Age|Qotsa|Queens[ _]+of[ _]+the[ _]+Stone[ _]+Age[ _]+taskforce)\s*([\|}{&lt;\n])", "{{WikiProject Queens of the Stone Age$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Radio[ _]+Stations|RSP|RSWP|RadioStationsProject)\s*([\|}{&lt;\n])", "{{WikiProject Radio Stations$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Radio|Radio|WPRADIO|WP[ _]+Radio|Wikiproject[ _]+Radio)\s*([\|}{&lt;\n])", "{{WikiProject Radio$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Rational[ _]+Skepticism|Rational[ _]+Skepticism)\s*([\|}{&lt;\n])", "{{WikiProject Rational Skepticism$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Raymond[ _]+E\.[ _]+Feist[ _]+series|WPRAY)\s*([\|}{&lt;\n])", "{{WikiProject Raymond E. Feist series$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Red[ _]+Dwarf|WPRed[ _]+Dwarf)\s*([\|}{&lt;\n])", "{{WikiProject Red Dwarf$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Reenactment|WikiProjectReenactment|WP[ _]+Reenactment)\s*([\|}{&lt;\n])", "{{WikiProject Reenactment$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Reference[ _]+Desk[ _]+Article[ _]+Collaboration|WPRDAC)\s*([\|}{&lt;\n])", "{{WikiProject Reference Desk Article Collaboration$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Reggae|WPReggae|WP[ _]+Reggae)\s*([\|}{&lt;\n])", "{{WikiProject Reggae$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Regional[ _]+and[ _]+national[ _]+music|WPRegionalNationalMusicBanner|WPWORLDMUSIC|Worldmusicassessed|WikiProject[ _]+World[ _]+music|WikiProject\:World[ _]+music)\s*([\|}{&lt;\n])", "{{WikiProject Regional and national music$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Religion|WPR|WPRel|WPReligion|WP[ _]+Religion|WP[ _]+Religions)\s*([\|}{&lt;\n])", "{{WikiProject Religion$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Religious[ _]+texts|WPRT2)\s*([\|}{&lt;\n])", "{{WikiProject Religious texts$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Republic[ _]+of[ _]+Macedonia|MKD|WPMKD|WPFYROM|WikiProject[ _]+Macedonia|ROMacedonia|WikiProject[ _]+ROMacedonia)\s*([\|}{&lt;\n])", "{{WikiProject Republic of Macedonia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Retailing|Wikiproject[ _]+retailing)\s*([\|}{&lt;\n])", "{{WikiProject Retailing$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Rhode[ _]+Island|WPRI|WPRHODEISLAND|WP[ _]+Rhode[ _]+Island)\s*([\|}{&lt;\n])", "{{WikiProject Rhode Island$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Richard[ _]+Wagner|Wagner|WikiProject[ _]+Wagner)\s*([\|}{&lt;\n])", "{{WikiProject Richard Wagner$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Rivers|River|Rivers|WP[ _]+Rivers|WPRIVERS|Wpriv|Wprivers)\s*([\|}{&lt;\n])", "{{WikiProject Rivers$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Roald[ _]+Dahl)\s*([\|}{&lt;\n])", "{{WikiProject Roald Dahl$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Robotics|Wiki[ _]+Project[ _]+Robotics|WP[ _]+Robotics)\s*([\|}{&lt;\n])", "{{WikiProject Robotics$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Rock[ _]+music|RMP|WP[ _]+Rock|WP[ _]+Rock[ _]+music|WPROCK|WPRock|WPRock[ _]+disco|WikiProject[ _]+Rock|WikiProject[ _]+Rock[ _]+Music|WikiProject[ _]+Rock[ _]+disc|Wikiproject[ _]+Hard[ _]+Rock|Wikiproject[ _]+Rock[ _]+music|Wikiproject[ _]+Rock[ _]+music[ _]+disco)\s*([\|}{&lt;\n])", "{{WikiProject Rock music$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Rocketry|LV|ROCKET|rocketry|WikiProject[ _]+Rockets|WikiProject[ _]+Launch[ _]+vehicles|WikiProject[ _]+Launch[ _]+Vehicles|WPRocketry)\s*([\|}{&lt;\n])", "{{WikiProject Rocketry$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Rodents|Squirrels|WikiProject[ _]+Squirrels/Page|Rodent)\s*([\|}{&lt;\n])", "{{WikiProject Rodents$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Role-playing[ _]+games|RPGproject)\s*([\|}{&lt;\n])", "{{WikiProject Role-playing games$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Roller[ _]+Coasters|RollerCoasterProject)\s*([\|}{&lt;\n])", "{{WikiProject Roller Coasters$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Romania|WPRA|Romania|WPROMANIA|WPRO|WP[ _]+Romania)\s*([\|}{&lt;\n])", "{{WikiProject Romania$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Rome|WPROME|WP[ _]+City[ _]+of[ _]+Rome)\s*([\|}{&lt;\n])", "{{WikiProject Rome$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Roots[ _]+music|WP[ _]+Roots|WP[ _]+Roots[ _]+music\/Article[ _]+Scope|WPRoots|WikiProject[ _]+Roots[ _]+Music)\s*([\|}{&lt;\n])", "{{WikiProject Roots music$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Rowing|WP[ _]+Row|WikiProject\:Rowing|WPRowing)\s*([\|}{&lt;\n])", "{{WikiProject Rowing$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Rufus[ _]+Wainwright|WPRufusWainwright)\s*([\|}{&lt;\n])", "{{WikiProject Rufus Wainwright$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Rugby[ _]+league|WP[ _]+Rugby[ _]+league|WPRL)\s*([\|}{&lt;\n])", "{{WikiProject Rugby league$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Rugby[ _]+union|WP[ _]+Rugby[ _]+union|WP[ _]+Rugby[ _]+Union|WP[ _]+rugby[ _]+union|WPRU|WikiProject[ _]+Rugby[ _]+Union|WikiProject[ _]+rugby[ _]+union)\s*([\|}{&lt;\n])", "{{WikiProject Rugby union$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Running|WPRunning|Runningproject|Running[ _]+project)\s*([\|}{&lt;\n])", "{{WikiProject Running$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Russia|WP[ _]+Russia|WPRUSSIA|WPRussia|WikiProject[ _]+Russian[ _]+History|WikiProject[ _]+Russian[ _]+history|Wikiproject[ _]+russia)\s*([\|}{&lt;\n])", "{{WikiProject Russia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Rwanda)\s*([\|}{&lt;\n])", "{{WikiProject Africa|Rwanda=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Sailing|Sailing)\s*([\|}{&lt;\n])", "{{WikiProject Sailing$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Saints|WP[ _]+Saints|Wikiproject[ _]+Saints)\s*([\|}{&lt;\n])", "{{WikiProject Saints$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+San[ _]+Francisco[ _]+49ers|SanFrancisco49ersProject)\s*([\|}{&lt;\n])", "{{WikiProject San Francisco 49ers$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Sao[ _]+Tome[ _]+and[ _]+Principe)\s*([\|}{&lt;\n])", "{{WikiProject Africa|Sao Tome and Principe=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Saskatchewan[ _]+Communities[ _]+\&amp;[ _]+Neighbourhoods|SKCNproject)\s*([\|}{&lt;\n])", "{{WikiProject Saskatchewan Communities &amp; Neighbourhoods$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Saudi[ _]+Arabia|Saudi)\s*([\|}{&lt;\n])", "{{WikiProject Saudi Arabia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Schools|WP[ _]+Schools|WPSCHOOLS|WPSchools|WikiProject[ _]+School)\s*([\|}{&lt;\n])", "{{WikiProject Schools$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Science[ _]+Fiction|Science[ _]+Fiction[ _]+Project|WP[ _]+SciFi|WPSCIFI|WikiProject[ _]+Science[ _]+fiction)\s*([\|}{&lt;\n])", "{{WikiProject Science Fiction$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Science|WP[ _]+Science)\s*([\|}{&lt;\n])", "{{WikiProject Science$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Scientology|WP[ _]+Scientology)\s*([\|}{&lt;\n])", "{{WikiProject Scientology$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Scotland|Scotland|WP[ _]+Scot|WP[ _]+Scotland|WPSCOT|WPSCOTLAND|WPScot|WPScotland|WPscot)\s*([\|}{&lt;\n])", "{{WikiProject Scotland$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Scottish[ _]+Castles|WPSCOTCASTLE)\s*([\|}{&lt;\n])", "{{WikiProject Scottish Castles$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Scottish[ _]+Islands|WPSI)\s*([\|}{&lt;\n])", "{{WikiProject Scottish Islands$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Scottish[ _]+Television|River[ _]+City[ _]+Assessment|WikiProject[ _]+River[ _]+City|SCOTV|River[ _]+City)\s*([\|}{&lt;\n])", "{{WikiProject Scottish Television$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Scouting|BSA|SCOUT|Scouts|ScoutingWikiProject)\s*([\|}{&lt;\n])", "{{WikiProject Scouting$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Screenwriters|WPScreenwriters|Screenwriters)\s*([\|}{&lt;\n])", "{{WikiProject Screenwriters$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Scuba|WPSCUBA|WikiProject[ _]+SCUBA|WikiProject[ _]+Scuba)\s*([\|}{&lt;\n])", "{{WikiProject Scuba$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Sea[ _]+Monsters|WP[ _]+Sea[ _]+Monsters)\s*([\|}{&lt;\n])", "{{WikiProject Sea Monsters$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Seamounts|WP[ _]+Seamounts|Seamounts|Seamount)\s*([\|}{&lt;\n])", "{{WikiProject Seamounts$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Seattle|Seattle|WPSEATTLE|WP[ _]+Seattle|WPSeattle)\s*([\|}{&lt;\n])", "{{WikiProject Seattle$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Seduction|WPSeduction)\s*([\|}{&lt;\n])", "{{WikiProject Seduction$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+September[ _]+11\,[ _]+2001|WikiProject[ _]+September[ _]+11)\s*([\|}{&lt;\n])", "{{WikiProject September 11, 2001$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Serbia|Belgrade[ _]+Project|SERBIA|Serbia|WP[ _]+Serbia|WPSR|WPSERBIA|WPSerbia|Wikiproject[ _]+Serbia)\s*([\|}{&lt;\n])", "{{WikiProject Serbia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Serial[ _]+Killer[ _]+task[ _]+force|Serial[ _]+killer)\s*([\|}{&lt;\n])", "{{WikiProject Serial Killer task force$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Seton[ _]+Hall[ _]+University|Wikiproject[ _]+Seton[ _]+Hall[ _]+University)\s*([\|}{&lt;\n])", "{{WikiProject Seton Hall University$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Seventh-day[ _]+Adventist[ _]+Church|WP[ _]+Adventism|WP[ _]+Adventist)\s*([\|}{&lt;\n])", "{{WikiProject Seventh-day Adventist Church$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Severe[ _]+weather|Tornado|Severe[ _]+weather|Severe)\s*([\|}{&lt;\n])", "{{WikiProject Severe weather$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Sexuality|Sexuality|WP[ _]+Sex|WPSexuality|WPSEX|WP[ _]+Sexuality|WikiProject[ _]+Sexology[ _]+and[ _]+Sexuality|WikiProject[ _]+Sexology[ _]+and[ _]+sexuality|Wikiproject[ _]+Sexuality)\s*([\|}{&lt;\n])", "{{WikiProject Sexuality$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Shakespeare|Wikiproject[ _]+Shakespeare)\s*([\|}{&lt;\n])", "{{WikiProject Shakespeare$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Sharks|WPSharks|WikiProject[ _]+sharks|WikiProject[ _]+Sharks\/SharksTalk)\s*([\|}{&lt;\n])", "{{WikiProject Sharks$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Shi\'a[ _]+Islam|WikiProject[ _]+Shi\'a|WikiProject[ _]+Shia)\s*([\|}{&lt;\n])", "{{WikiProject Shi'a Islam$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Ships|WPSHIPS|WP[ _]+Ships)\s*([\|}{&lt;\n])", "{{WikiProject Ships$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Shipwrecks|WPSHIPWRECKS|ShipwrecksWikiProject)\s*([\|}{&lt;\n])", "{{WikiProject Shipwrecks$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Shopping[ _]+Centers|WikiProject[ _]+Dead[ _]+Malls|WP[ _]+Malls)\s*([\|}{&lt;\n])", "{{WikiProject Shopping Centers$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Shreveport|WikiProject[ _]+Shreveport[ _]+Article)\s*([\|}{&lt;\n])", "{{WikiProject Shreveport$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Sicily|Sicily[ _]+project|WPSICILY)\s*([\|}{&lt;\n])", "{{WikiProject Sicily$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Sierra[ _]+Leone)\s*([\|}{&lt;\n])", "{{WikiProject Africa|Sierra Leone=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Singapore|WPSINGAPORE|WPSingapore|SG)\s*([\|}{&lt;\n])", "{{WikiProject Singapore$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Skateboarding|Project[ _]+skateboarding)\s*([\|}{&lt;\n])", "{{WikiProject Skateboarding$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Skiing[ _]+and[ _]+Snowboarding|Ski|WikiProject[ _]+Ski)\s*([\|}{&lt;\n])", "{{WikiProject Skiing and Snowboarding$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Skyscrapers|Skyscraper[ _]+category|Skyscraper[ _]+image|Skyscraper[ _]+project|Skyscraper[ _]+template|Skyscrapers)\s*([\|}{&lt;\n])", "{{WikiProject Skyscrapers$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Slipknot|Slipknot[ _]+Project[ _]+TempVersion|Slipknot[ _]+Project)\s*([\|}{&lt;\n])", "{{WikiProject Slipknot$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Slovakia|WPSLOVAKIA|WP[ _]+Slovakia|WPSlovakia)\s*([\|}{&lt;\n])", "{{WikiProject Slovakia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Slovenia|WPSLOVENIA|Wikiproject[ _]+Slovenia|WP[ _]+Slovenia)\s*([\|}{&lt;\n])", "{{WikiProject Slovenia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Smithsonian[ _]+Institution[ _]+Archives|WikiProject[ _]+SIA)\s*([\|}{&lt;\n])", "{{WikiProject Smithsonian Institution Archives$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Smithsonian[ _]+Institution-related|SI-related)\s*([\|}{&lt;\n])", "{{WikiProject Smithsonian Institution-related$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Snooker|Snooker[ _]+project|SNOOKER)\s*([\|}{&lt;\n])", "{{WikiProject Snooker$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Soap[ _]+Operas|Soaps|Wpsoaps|WP[ _]+Soaps)\s*([\|}{&lt;\n])", "{{WikiProject Soap Operas$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Sociology|WPS|Sociology[ _]+WikiProject|WPSOC|WPSociology)\s*([\|}{&lt;\n])", "{{WikiProject Sociology$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Software|WP[ _]+Software|Software)\s*([\|}{&lt;\n])", "{{WikiProject Software$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Soil|WP[ _]+Soil|Soil)\s*([\|}{&lt;\n])", "{{WikiProject Soil$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Solar[ _]+System|WP[ _]+Solar[ _]+System|WPSS|WikiProject[ _]+Solar[ _]+system)\s*([\|}{&lt;\n])", "{{WikiProject Solar System$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Songs|Song|Songs|WP[ _]+Songs|WPSongs|WikiProject[ _]+Song|WikiProjectSongs)\s*([\|}{&lt;\n])", "{{WikiProject Songs$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+South[ _]+Africa|SouthAfricaProject|WPSA|WPSouthAfrica)\s*([\|}{&lt;\n])", "{{WikiProject South Africa$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+South[ _]+America|WPSOUTHAMERICA|WPSAMERICA|WP[ _]+South[ _]+America)\s*([\|}{&lt;\n])", "{{WikiProject South America$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+South[ _]+Asia|Project[ _]+SouthAsia|SouthAsia[ _]+History|WP[ _]+SouthAsia)\s*([\|}{&lt;\n])", "{{WikiProject South Asia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+South[ _]+Carolina|SC-Project|WPSOUTHCAROLINA|WP[ _]+South[ _]+Carolina|Project[ _]+South[ _]+Carolina)\s*([\|}{&lt;\n])", "{{WikiProject South Carolina$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+South[ _]+Park|SouthParkProject|WP[ _]+South[ _]+Park)\s*([\|}{&lt;\n])", "{{WikiProject South Park$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Southeast[ _]+Asia|WPSEASIA|WikiProject[ _]+Brunei)\s*([\|}{&lt;\n])", "{{WikiProject Southeast Asia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Soviet[ _]+Union|WPSU|WPUSSR|WikiProject[ _]+USSR|Soviet)\s*([\|}{&lt;\n])", "{{WikiProject Soviet Union$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Space|WP[ _]+Space)\s*([\|}{&lt;\n])", "{{WikiProject Space$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Spaceflight|WikiProject[ _]+Human[ _]+spaceflight|WPSpaceflight)\s*([\|}{&lt;\n])", "{{WikiProject Spaceflight$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Spain|WPSPAIN|WP[ _]+Spain|WPSpain)\s*([\|}{&lt;\n])", "{{WikiProject Spain$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Spectroscopy|SpectroscopyProject)\s*([\|}{&lt;\n])", "{{WikiProject Spectroscopy$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Spiders|Spiders|WPSpiders)\s*([\|}{&lt;\n])", "{{WikiProject Spiders$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Spirits|WPSPIRIT|Wpspirit|Spirit|WPSPIRITS|Spirits|WP[ _]+Alcohol)\s*([\|}{&lt;\n])", "{{WikiProject Spirits$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Spirituality|Spirituality|Spirituality[ _]+project)\s*([\|}{&lt;\n])", "{{WikiProject Spirituality$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Spoken[ _]+Wikipedia|Talk[ _]+Spoken[ _]+Wikipedia|Talk[ _]+Spoken[ _]+Wikipedia[ _]+id)\s*([\|}{&lt;\n])", "{{WikiProject Spoken Wikipedia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+SpongeBob[ _]+SquarePants|Wikiproject[ _]+SpongeBob[ _]+SquarePants|WikiProjectSpongeBobSquarePants)\s*([\|}{&lt;\n])", "{{WikiProject SpongeBob SquarePants$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Spooks|SpooksWikiProject)\s*([\|}{&lt;\n])", "{{WikiProject Spooks$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Sports[ _]+Car[ _]+Racing|WPSCR)\s*([\|}{&lt;\n])", "{{WikiProject Sports Car Racing$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Sports[ _]+facilities[ _]+task[ _]+force|Sports[ _]+facilities|WikiProject[ _]+Sports[ _]+facilities)\s*([\|}{&lt;\n])", "{{WikiProject Sports facilities task force$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Sports|WikiProject[ _]+Handball|WP[ _]+Sport|WP[ _]+Sports|WPSPORT|WPSPORTS|WPSport|WPSports|WikiProject[ _]+Sport|WikiProjectSports)\s*([\|}{&lt;\n])", "{{WikiProject Sports$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Square[ _]+Enix|Ffproj|FinalFantasyProj|FinalFantasyProject|Finalfantasyproj|SEproj|WPFF[ _]+Article|WikiProject[ _]+Final[ _]+Fantasy)\s*([\|}{&lt;\n])", "{{WikiProject Square Enix$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Squash|WP[ _]+Squash|WPSQUASH|WPSquash|Wikiproject[ _]+Squash)\s*([\|}{&lt;\n])", "{{WikiProject Squash$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Sri[ _]+Lanka[ _]+Reconciliation|Banner[ _]+WPSLR)\s*([\|}{&lt;\n])", "{{WikiProject Sri Lanka Reconciliation$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Sri[ _]+Lanka|WPSRILANKA|Ceylon|WP[ _]+Sri[ _]+Lanka)\s*([\|}{&lt;\n])", "{{WikiProject Sri Lanka$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+St\.[ _]+Louis[ _]+Rams|SaintLouisRamsproject|St\.[ _]+Louis[ _]+Rams[ _]+project)\s*([\|}{&lt;\n])", "{{WikiProject St. Louis Rams$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+St\.[ _]+Louis|WP[ _]+STL|WikiProject[ _]+Saint[ _]+Louis|WikiProject[ _]+St\.[ _]+Louis[ _]+people)\s*([\|}{&lt;\n])", "{{WikiProject St. Louis$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Stagecraft|Project[ _]+Stagecraft)\s*([\|}{&lt;\n])", "{{WikiProject Stagecraft$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Star[ _]+Trek|Startrekproject|StarTrekproject|WP[ _]+Star[ _]+Trek)\s*([\|}{&lt;\n])", "{{WikiProject Star Trek$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Star[ _]+Wars|StarWarsProject|WP[ _]+Star[ _]+Wars)\s*([\|}{&lt;\n])", "{{WikiProject Star Wars$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Stargate|Stargateproject)\s*([\|}{&lt;\n])", "{{WikiProject Stargate$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+State[ _]+University[ _]+System[ _]+of[ _]+Florida|WPSUSF)\s*([\|}{&lt;\n])", "{{WikiProject State University System of Florida$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Statistics|WP[ _]+Statistics|WPStatistics)\s*([\|}{&lt;\n])", "{{WikiProject Statistics$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Stub[ _]+sorting|WPSTUB)\s*([\|}{&lt;\n])", "{{WikiProject Stub sorting$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Succession[ _]+Box[ _]+Standardization|SBS[ _]+template|SBS[ _]+banner)\s*([\|}{&lt;\n])", "{{WikiProject Succession Box Standardization$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Sudan)\s*([\|}{&lt;\n])", "{{WikiProject Africa|Sudan=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Suicide|WPSUICIDE|WP[ _]+SUICIDE)\s*([\|}{&lt;\n])", "{{WikiProject Suicide$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Sumo|WPSUMO)\s*([\|}{&lt;\n])", "{{WikiProject Sumo$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+SUNY|WP[ _]+SUNY)\s*([\|}{&lt;\n])", "{{WikiProject SUNY$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Surrey|WPSurrey)\s*([\|}{&lt;\n])", "{{WikiProject Surrey$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Sussex|WP)\s*([\|}{&lt;\n])", "{{WikiProject Sussex$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Sweden|WPSweden|WPSWEDEN|WikiProject[ _]+Sweden|WikiProjectSweden|WP[ _]+Sweden|Sweden)\s*([\|}{&lt;\n])", "{{WikiProject Sweden$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Swimming|WPSwimming|WP[ _]+Swimming)\s*([\|}{&lt;\n])", "{{WikiProject Swimming$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Switzerland|WPSWITZERLAND|WP[ _]+Switzerland|WikiProject[ _]+Swiss|WPSwitzerland)\s*([\|}{&lt;\n])", "{{WikiProject Switzerland$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Syracuse\,[ _]+New York|SyracuseNYWikiProject|WikiProject[ _]+Syracuse)\s*([\|}{&lt;\n])", "{{WikiProject Syracuse, New York$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Syria|WPSYRIA|WP[ _]+Syria)\s*([\|}{&lt;\n])", "{{WikiProject Syria$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Systems|WPSystems|Sys[ _]+rating)\s*([\|}{&lt;\n])", "{{WikiProject Systems$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Taiwan|WPTAIWAN|WikiProject[ _]+Taiwanese[ _]+politics|WPTWGOVT|WP[ _]+Taiwan)\s*([\|}{&lt;\n])", "{{WikiProject Taiwan$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Tamil[ _]+civilization|WPTAMIL|WPTAMCIV)\s*([\|}{&lt;\n])", "{{WikiProject Tamil civilization$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Tampa[ _]+Bay[ _]+Buccaneers|TampaBayBucsProject)\s*([\|}{&lt;\n])", "{{WikiProject Tampa Bay Buccaneers$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Tampa[ _]+Bay|TampaWikiproject|TampaBayWikiproject)\s*([\|}{&lt;\n])", "{{WikiProject Tampa Bay$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Tanzania)\s*([\|}{&lt;\n])", "{{WikiProject Africa|Tanzania=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Technology[ _]+History|WikiProject[ _]+Techhistory/recruit|Wikiproject[ _]+Techhistory/recruit)\s*([\|}{&lt;\n])", "{{WikiProject Technology History$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Technology|Wiki[ _]+Project[ _]+Technology|WPTechnology|WP[ _]+Technology)\s*([\|}{&lt;\n])", "{{WikiProject Technology$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Telecommunications|Tel[ _]+Project|Telecommunications|WP[ _]+Communications|WPTelecom|WikiProject[ _]+Telecommunication)\s*([\|}{&lt;\n])", "{{WikiProject Telecommunications$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Television[ _]+Game[ _]+Shows|Game[ _]+Show[ _]+Project|TVGS|Television[ _]+Game[ _]+Shows[ _]+WikiProject|WP[ _]+Television[ _]+Game[ _]+Shows|WPTVGS|WikiProject[ _]+Game[ _]+shows|WikiProject[ _]+TV[ _]+Game[ _]+Shows|WikiProject[ _]+Television[ _]+game[ _]+shows)\s*([\|}{&lt;\n])", "{{WikiProject Television Game Shows$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Television[ _]+Stations|TVS|TelevisionStationsProject)\s*([\|}{&lt;\n])", "{{WikiProject Television Stations$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Television|Television|TelevisionWikiProject|Tv|WP[ _]+TV|WP[ _]+Television|WPTELEVISION|WPTV|WPTelevision|WikiProject[ _]+LOE|WikiProject[ _]+TV|Wikiproject[ _]+television)\s*([\|}{&lt;\n])", "{{WikiProject Television$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Temperature[ _]+extremes|extremes)\s*([\|}{&lt;\n])", "{{WikiProject Temperature extremes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Tennessee|WikiProject[ _]+Chattanooga|WPTENNESSEE|WPTN|Wikiproject[ _]+Tennessee|WPTennessee)\s*([\|}{&lt;\n])", "{{WikiProject Tennessee$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Tennis|WP[ _]+Tennis|WPTennis|WP-Tennis|Wikiproject[ _]+Tennis|Tennis)\s*([\|}{&lt;\n])", "{{WikiProject Tennis$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Terrorism|WPTCT|WP[ _]+Terrorism)\s*([\|}{&lt;\n])", "{{WikiProject Terrorism$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Texas|WPTX|WPTEXAS|WP[ _]+Texas|WPTexas)\s*([\|}{&lt;\n])", "{{WikiProject Texas$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Textile[ _]+Arts|Wikiproject[ _]+Textile[ _]+Arts)\s*([\|}{&lt;\n])", "{{WikiProject Textile Arts$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Teylers|Teylers)\s*([\|}{&lt;\n])", "{{WikiProject Teylers$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Thailand|WPTHAILAND|WPTHAI|WPThailand|WP[ _]+Thailand)\s*([\|}{&lt;\n])", "{{WikiProject Thailand$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Thames|WPThames)\s*([\|}{&lt;\n])", "{{WikiProject Thames$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+The[ _]+Apprentice[ _]+UK|Apprentice[ _]+uk[ _]+project)\s*([\|}{&lt;\n])", "{{WikiProject The Apprentice UK$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+The[ _]+Beatles|WPBeatles)\s*([\|}{&lt;\n])", "{{WikiProject The Beatles$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+The[ _]+Clash|WPClash)\s*([\|}{&lt;\n])", "{{WikiProject The Clash$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+The[ _]+Office[ _]+\(US\)|WPTO)\s*([\|}{&lt;\n])", "{{WikiProject The Office (US)$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+The[ _]+Rolling[ _]+Stones|WPTRS|WPRollingStones)\s*([\|}{&lt;\n])", "{{WikiProject The Rolling Stones$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+The[ _]+Simpsons|SimpsonWikiProject|WikiProject[ _]+Simpsons )\s*([\|}{&lt;\n])", "{{WikiProject The Simpsons$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+The[ _]+X-Files|WikiProject[ _]+X-Files|Xfilesproject)\s*([\|}{&lt;\n])", "{{WikiProject The X-Files$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Theatre|WP[ _]+Theater|WP[ _]+Theatre|WPTHEATRE|WPTheater|WPTheatre|WikiProject[ _]+Theater)\s*([\|}{&lt;\n])", "{{WikiProject Theatre$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Theoretical[ _]+Linguistics|WPTL|Project[ _]+Theoretical[ _]+Linguistics)\s*([\|}{&lt;\n])", "{{WikiProject Theoretical Linguistics$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Thomas|WPThomas|Thomas-project-page)\s*([\|}{&lt;\n])", "{{WikiProject Thomas$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Thoroughbred[ _]+racing|Thoroughbred[ _]+racing)\s*([\|}{&lt;\n])", "{{WikiProject Thoroughbred racing$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Three[ _]+Kingdoms|WP3K|Wikiproject[ _]+Three[ _]+Kingdoms)\s*([\|}{&lt;\n])", "{{WikiProject Three Kingdoms$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Time|WPTIME|WP[ _]+Time|Time[ _]+WikiProject|WikiProject[ _]+Time[ _]+CoopBanner)\s*([\|}{&lt;\n])", "{{WikiProject Time$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Timeline[ _]+Tracer[ _]+CoopBanner|WP[ _]+Timeline[ _]+Tracer[ _]+Histfact[ _]+Template|WikiProject[ _]+Timeline[ _]+Tracer[ _]+CoopBanner|WikiProject[ _]+True[ _]+Origins|WikiProject[ _]+True[ _]+Origins[ _]+CoopBanner)\s*([\|}{&lt;\n])", "{{WikiProject Timeline Tracer CoopBanner$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Timeline[ _]+Tracer|WP[ _]+Timeline[ _]+Tracer[ _]+Histfact[ _]+Template|WikiProject[ _]+Timeline[ _]+Tracer[ _]+CoopBanner|WikiProject[ _]+True[ _]+Origins|WikiProject[ _]+True[ _]+Origins[ _]+CoopBanner)\s*([\|}{&lt;\n])", "{{WikiProject Timeline Tracer$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Togo)\s*([\|}{&lt;\n])", "{{WikiProject Africa|Togo=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Tokusatsu|TOKU|WPTOKUSATSU|Tokusatsu)\s*([\|}{&lt;\n])", "{{WikiProject Tokusatsu$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Tonga)\s*([\|}{&lt;\n])", "{{WikiProject Polynesia|Tonga=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Toronto|WPTORONTO|WP[ _]+Toronto)\s*([\|}{&lt;\n])", "{{WikiProject Toronto$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Toys|WP[ _]+Toys)\s*([\|}{&lt;\n])", "{{WikiProject Toys$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Trade|Wptrade)\s*([\|}{&lt;\n])", "{{WikiProject Trade$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Trains|TrainsWikiProject|RAIL|RR|Rail|TRAINS|TWP|Trains|WikiProject Train|WikiProject trains|Wikiproject Trains|Wikiproject trains|WP Trains)\s*([\|}{&lt;\n])", "{{WikiProject Trains$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Transport|WP[ _]+Transport|WPTRANSPORT)\s*([\|}{&lt;\n])", "{{WikiProject Transport$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Travel[ _]+and[ _]+Tourism|TourismProject|WP[ _]+Travel|WPTOUR|WikiProject[ _]+Tourism|Wptour)\s*([\|}{&lt;\n])", "{{WikiProject Travel and Tourism$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Tree[ _]+of[ _]+Life|TOL|Tree[ _]+of[ _]+Life|Tree[ _]+of[ _]+life|WPTOL|WikiProject[ _]+Tree[ _]+of[ _]+life)\s*([\|}{&lt;\n])", "{{WikiProject Tree of Life$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Triathlon|WP[ _]+Triathlon|WPTriathlon)\s*([\|}{&lt;\n])", "{{WikiProject Triathlon$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Tropical[ _]+cyclones|Cyclone|Hurricane)\s*([\|}{&lt;\n])", "{{WikiProject Tropical cyclones$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+TUGS|TUGS-Scope|TUGS)\s*([\|}{&lt;\n])", "{{WikiProject TUGS$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Tunings\,[ _]+Temperaments\,[ _]+and[ _]+Scales|Tuning[ _]+and[ _]+temperament)\s*([\|}{&lt;\n])", "{{WikiProject Tunings, Temperaments, and Scales$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Tunisia|WPTNS|WPTunisia)\s*([\|}{&lt;\n])", "{{WikiProject Tunisia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Turkey|WPTURKEY|WPTR|WP[ _]+Turkey)\s*([\|}{&lt;\n])", "{{WikiProject Turkey$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+U\.S\.[ _]+Congress|WikiProject[ _]+Congress|Project[ _]+Congress|WikiProject[ _]+United[ _]+States[ _]+Congress)\s*([\|}{&lt;\n])", "{{WikiProject U.S. Congress$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+U\.S\.[ _]+Presidents|WikiProject[ _]+Presidents|USP-Article)\s*([\|}{&lt;\n])", "{{WikiProject U.S. Presidents$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+U\.S\.[ _]+Roads[ _]+WikiProject|Texas[ _]+State[ _]+Highway[ _]+WikiProject|US[ _]+Roads[ _]+WikiProject|USRD|USRmap)\s*([\|}{&lt;\n])", "{{U.S. Roads WikiProject$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+U\.S\.[ _]+Streets|USST|U\.S\.[ _]+Streets[ _]+WikiProject)\s*([\|}{&lt;\n])", "{{WikiProject U.S. Streets$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+U\.S\.[ _]+Supreme[ _]+Court[ _]+cases|WP[ _]+SCOTUS|WikiProject[ _]+SCOTUS)\s*([\|}{&lt;\n])", "{{WikiProject U.S. Supreme Court cases$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Uganda|Uganda)\s*([\|}{&lt;\n])", "{{WikiProject Africa|Uganda=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+UK[ _]+geography|UKGEO|WPUKgeog|WPUKGEOG|WPUKgeo|WP[ _]+UK[ _]+Geography)\s*([\|}{&lt;\n])", "{{WikiProject UK geography$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+UK[ _]+Parliament[ _]+constituencies|WPUKPC|UK[ _]+Parliamentary[ _]+Constituencies)\s*([\|}{&lt;\n])", "{{WikiProject UK Parliament constituencies$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+UK[ _]+Theme[ _]+Parks|UKTP[ _]+project)\s*([\|}{&lt;\n])", "{{WikiProject UK Theme Parks$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+UK[ _]+Roads|Motorways|UKRD|WPUKroads|WP[ _]+UK[ _]+Roads)\s*([\|}{&lt;\n])", "{{WikiProject UK Roads$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+UK[ _]+Waterways|UKW|Wikipedia\:WikiProject[ _]+UK[ _]+Waterways)\s*([\|}{&lt;\n])", "{{WikiProject UK Waterways$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Ukraine|Ukraine|WP[ _]+Ukraine|WPUKRAINE|WPUkraine|WikiProject[ _]+Ukrainian[ _]+subdivisions)\s*([\|}{&lt;\n])", "{{WikiProject Ukraine$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+UNC|Project[ _]+UNC|Project[ _]+University[ _]+of[ _]+North[ _]+Carolina[ _]+at[ _]+Chapel[ _]+Hill|Project[ _]+unc|WikiProject[ _]+University[ _]+of[ _]+North[ _]+Carolina[ _]+at[ _]+Chapel[ _]+Hill|WikiProjectUNC|Wikiproject[ _]+UNC|Wikiproject[ _]+unc)\s*([\|}{&lt;\n])", "{{WikiProject UNC$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Unionism[ _]+in[ _]+Ireland|WP\:Unionism|WikiProject[ _]+Unionism)\s*([\|}{&lt;\n])", "{{WikiProject Unionism in Ireland$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+United[ _]+Arab[ _]+Emirates|Dubai[ _]+category|Dubai[ _]+image|Dubai[ _]+project|Dubai[ _]+template|WP[ _]+UAE|WP[ _]+United[ _]+Arab[ _]+Emirates|WPUAE|WikiProject[ _]+Dubai|WikiProject[ _]+UAE)\s*([\|}{&lt;\n])", "{{WikiProject United Arab Emirates$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+United[ _]+Kingdom|WP[ _]+UK|WP[ _]+United[ _]+Kingdom|WPUK|WikiProject[ _]+Britain|WikiProject[ _]+UK)\s*([\|}{&lt;\n])", "{{WikiProject United Kingdom$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+United[ _]+States[ _]+courts[ _]+and[ _]+judges|Project[ _]+USCJ|WikiProject[ _]+USCJ|WikiProject[ _]+WikiProject[ _]+United[ _]+States[ _]+courts[ _]+and[ _]+judges)\r*([\|}{&lt;\n])", "{{WikiProject United States courts and judges$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+United[ _]+States[ _]+History|USHistory|WikiProject[ _]+US[ _]+History|WP[ _]+US[ _]+History|WP[ _]+U\.S\.[ _]+History|WP[ _]+American[ _]+History|USHistoryTalk|WikiProject[ _]+US[ _]+history)\s*([\|}{&lt;\n])", "{{WikiProject United States History$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+United[ _]+States[ _]+presidential[ _]+elections|WPUSPE)\s*([\|}{&lt;\n])", "{{WikiProject United States presidential elections$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+United[ _]+States[ _]+Public[ _]+Policy|USPP)\s*([\|}{&lt;\n])", "{{WikiProject United States Public Policy$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+United[ _]+States|WP[ _]+America|USProject|WPUS|WPUSA|WP[ _]+USA|WikiProject[ _]+USA|WP[ _]+United[ _]+States|WP[ _]+US|WPUnited[ _]+States)\s*([\|}{&lt;\n])", "{{WikiProject United States$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Universal[ _]+Parks|UniversalParksResortsProject)\s*([\|}{&lt;\n])", "{{WikiProject Universal Parks$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Universities|Universities|University|WP[ _]+Universities|WP[ _]+University|WPU|WPUNI|WPUniversity|WikiProject[ _]+University)\s*([\|}{&lt;\n])", "{{WikiProject Universities$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+University[ _]+of[ _]+Arkansas|WikiProject[ _]+UARK)\s*([\|}{&lt;\n])", "{{WikiProject University of Arkansas$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+University[ _]+of[ _]+Cambridge|WP[ _]+Cambridge[ _]+University)\s*([\|}{&lt;\n])", "{{WikiProject University of Cambridge$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+University[ _]+of[ _]+Central[ _]+Florida|WPUCF)\s*([\|}{&lt;\n])", "{{WikiProject University of Central Florida$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+University[ _]+of[ _]+Florida|WPUF)\s*([\|}{&lt;\n])", "{{WikiProject University of Florida$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+University[ _]+of[ _]+the[ _]+Philippines|WPUP)\s*([\|}{&lt;\n])", "{{WikiProject University of the Philippines$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Unreferenced[ _]+Biographies[ _]+of[ _]+Living[ _]+Persons|WPURBLP)\s*([\|}{&lt;\n])", "{{WikiProject Unreferenced Biographies of Living Persons$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Update[ _]+Watch|WikiProject[ _]+Update[ _]+Watch[ _]+CoopBanner)\s*([\|}{&lt;\n])", "{{WikiProject Update Watch$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Urban[ _]+Debate|WikiProject[ _]+BUDL)\s*([\|}{&lt;\n])", "{{WikiProject Urban Debate$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Urban[ _]+studies[ _]+and[ _]+planning|Planning)\s*([\|}{&lt;\n])", "{{WikiProject Urban studies and planning$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Uruguay|WPURU|UruguayProject|WP[ _]+Uruguay)\s*([\|}{&lt;\n])", "{{WikiProject Uruguay$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+US[ _]+State[ _]+Legislatures|Wikiproject[ _]+State[ _]+Legislatures|WikiProject[ _]+State[ _]+Legislatures)\s*([\|}{&lt;\n])", "{{WikiProject US State Legislatures$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Userboxes|UBX|Ubx|WikiProject[ _]+userboxes|Wikiproject[ _]+Userboxes|Wikiproject[ _]+userboxes|Wp:ubx)\s*([\|}{&lt;\n])", "{{WikiProject Userboxes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Utah|WPUTAH|Wikiproject[ _]+Utah|WP[ _]+Utah|WPUT)\s*([\|}{&lt;\n])", "{{WikiProject Utah$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Uzbekistan|WP[ _]+Uzbekistan)\s*([\|}{&lt;\n])", "{{WikiProject Central Asia|Uzbekistan=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Van[ _]+Halen|WPVANHALEN)\s*([\|}{&lt;\n])", "{{WikiProject Van Halen$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Vanuatu)\s*([\|}{&lt;\n])", "{{WikiProject Melanesia|Vanuatu=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Vancouver|Vancouverproject-gvrd|Vancouver|WPVANCOUVER|Vancouverproject)\s*([\|}{&lt;\n])", "{{WikiProject Vancouver$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Venezuela|WPVENEZUELA|WPVenezuela|WP[ _]+Venezuela|WPVEN|VENTEMP)\s*([\|}{&lt;\n])", "{{WikiProject Venezuela$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Vermont|WPVERMONT|WPVT|WP[ _]+Vermont|Project[ _]+Vermont)\s*([\|}{&lt;\n])", "{{WikiProject Vermont$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Video[ _]+games|WarcraftProject|WPW[ _]+Article|Zeldaproj|ZeldaProject|Cvgproj|Vgproj|WPVG|WP[ _]+Video[ _]+games|WikiProject[ _]+Video[ _]+Games)\s*([\|}{&lt;\n])", "{{WikiProject Video games$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Vienna|ProjectVienna)\s*([\|}{&lt;\n])", "{{WikiProject Vienna$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Vietnam|WPVIETNAM|WPVN|WP[ _]+Vietnam|WPVietnam)\s*([\|}{&lt;\n])", "{{WikiProject Vietnam$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+View[ _]+Askew|Wikiproject[ _]+View[ _]+Askew|View[ _]+Askew)\s*([\|}{&lt;\n])", "{{WikiProject View Askew$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Virginia|WPVIRGINIA|WP[ _]+Virginia|WikiProjectVirginia)\s*([\|}{&lt;\n])", "{{WikiProject Virginia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Viruses|Virus|Wikiproject[ _]+Viruses|WPVIRUS)\s*([\|}{&lt;\n])", "{{WikiProject Viruses$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Visual[ _]+arts|Visual[ _]+arts|WP[ _]+Art|WP[ _]+Pottery|WP[ _]+Visual[ _]+arts|WPART|WPVISUALART|WikiProject[ _]+Art|WikiProject[ _]+Visual[ _]+Arts|WikiProject[ _]+Visual[ _]+art)\s*([\|}{&lt;\n])", "{{WikiProject Visual arts$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Vital[ _]+Articles|Vital)\s*([\|}{&lt;\n])", "{{WikiProject Vital Articles$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Volcanism[ _]+of[ _]+Canada|Volcanism[ _]+of[ _]+Canada)\s*([\|}{&lt;\n])", "{{WikiProject Volcanism of Canada$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Volcanoes|Volcano|Volcano[ _]+category|Volcano[ _]+image|Volcano[ _]+list|Volcano[ _]+project|Volcano[ _]+template|WP[ _]+Volcanoes)\s*([\|}{&lt;\n])", "{{WikiProject Volcanoes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Volleyball|Catbox[ _]+WPVolleyball|WPVolleyball)\s*([\|}{&lt;\n])", "{{WikiProject Volleyball$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Wales|WP[ _]+Wales|WPWales|WPWALES)\s*([\|}{&lt;\n])", "{{WikiProject Wales$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Walt[ _]+Disney[ _]+World|WaltDisneyWorld)\s*([\|}{&lt;\n])", "{{WikiProject Walt Disney World$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Warhammer[ _]+40\,000|Warhammer[ _]+40\,000[ _]+Project)\s*([\|}{&lt;\n])", "{{WikiProject Warhammer 40,000$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Warriors|WPWarriors)\s*([\|}{&lt;\n])", "{{WikiProject Warriors$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Washington[ _]+Metro|WMATA)\s*([\|}{&lt;\n])", "{{WikiProject Washington Metro$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Washington[ _]+Redskins|Washington[ _]+RedskinsProject)\s*([\|}{&lt;\n])", "{{WikiProject Washington Redskins$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Washington[ _]+University[ _]+in[ _]+St\.[ _]+Louis|WikiProjectWUSTLpeople|ProjectWUSTL)\s*([\|}{&lt;\n])", "{{WikiProject Washington University in St. Louis$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Washington|WPWASHINGTON|WP[ _]+Washington|WPWashington|WikiProject[ _]+Washington[ _]+\(U\.S\.[ _]+state\))\s*([\|}{&lt;\n])", "{{WikiProject Washington$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Watches|Watch[ _]+Project)\s*([\|}{&lt;\n])", "{{WikiProject Watches$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Water[ _]+Margin|WPWaterMargin)\s*([\|}{&lt;\n])", "{{WikiProject Water Margin$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Water[ _]+sports|Watersports)\s*([\|}{&lt;\n])", "{{WikiProject Water sports$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Waterfalls|Project[ _]+Waterfalls)\s*([\|}{&lt;\n])", "{{WikiProject Waterfalls$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Weather[ _]+Data[ _]+and[ _]+Instrumentation|Weather\-data)\s*([\|}{&lt;\n])", "{{WikiProject Weather Data and Instrumentation$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Websites|Websites[ _]+WikiProject|WPWEB|Websites|WebsiteNotice|WP[ _]+Websites|WikiProject[ _]+Web[ _]+sites)\s*([\|}{&lt;\n])", "{{WikiProject Websites$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+West[ _]+Midlands|WPWM)\s*([\|}{&lt;\n])", "{{WikiProject West Midlands$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+West[ _]+Virginia|WPWV|WP[ _]+West[ _]+Virginia)\s*([\|}{&lt;\n])", "{{WikiProject West Virginia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Westerns|Westerns)\s*([\|}{&lt;\n])", "{{WikiProject Westerns$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Wight|WPWight|Wight)\s*([\|}{&lt;\n])", "{{WikiProject Wight$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Wikify|Wikified)\s*([\|}{&lt;\n])", "{{WikiProject Wikify$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Wikipedia[ _]+Saves[ _]+Public[ _]+Art|WikiProject[ _]+WSPA)\s*([\|}{&lt;\n])", "{{WikiProject Wikipedia Saves Public Art$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Wikipedia\-Books|WBOOKS)\s*([\|}{&lt;\n])", "{{WikiProject Wikipedia-Books$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+WikiWorld|WikiProject[ _]+Illustrated[ _]+Wikipedia)\s*([\|}{&lt;\n])", "{{WikiProject WikiWorld$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Wiltshire|Wilts)\s*([\|}{&lt;\n])", "{{WikiProject Wiltshire$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Wine|Wine|WikiProject[ _]+wine|WPWINE)\s*([\|}{&lt;\n])", "{{WikiProject Wine$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Wisconsin|WPWISCONSIN|WP[ _]+Wisconsin)\s*([\|}{&lt;\n])", "{{WikiProject Wisconsin$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Women\'s[ _]+History|WMNHIST|WMHIST|WikiProject[ _]+WMNHIST)\s*([\|}{&lt;\n])", "{{WikiProject Women's History$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Women's[ _]+sport|WPWomen's sport)\s*([\|}{&lt;\n])", "{{WikiProject Women's sport$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Woodworking|Woodworking)\s*([\|}{&lt;\n])", "{{WikiProject Woodworking$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Worcestershire|WPWorcs-Scope|WPWorcs)\s*([\|}{&lt;\n])", "{{WikiProject Worcestershire$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+World[ _]+Rally|WRC)\s*([\|}{&lt;\n])", "{{WikiProject World Rally$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+World's[ _]+Oldest[ _]+People|WikiProjectWOP)\s*([\|}{&lt;\n])", "{{WikiProject World's Oldest People$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Writing[ _]+systems|Wsproj|WPWRITINGSYSTEMS|WP[ _]+Writing[ _]+systems)\s*([\|}{&lt;\n])", "{{WikiProject Writing systems$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Wyoming|WPWYOMING|WP[ _]+Wyoming)\s*([\|}{&lt;\n])", "{{WikiProject Wyoming$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Xbox|Xboxp)\s*([\|}{&lt;\n])", "{{WikiProject Xbox$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Years|YearsProject)\s*([\|}{&lt;\n])", "{{WikiProject Years$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Yemen|Yemen|WPYEMEN)\s*([\|}{&lt;\n])", "{{WikiProject Yemen$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Yorkshire|WikiProject[ _]+West[ _]+Yorkshire|WP[ _]+Yorkshire)\s*([\|}{&lt;\n])", "{{WikiProject Yorkshire$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Youngstown|YoungstownWikiProject)\s*([\|}{&lt;\n])", "{{WikiProject Youngstown$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Yu-Gi-Oh\!|Yu-gi-oh|WPYUGIOH|Yu-Gi-Oh|WPYU-GI-OH)\s*([\|}{&lt;\n])", "{{WikiProject Yu-Gi-Oh!$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Yugoslavia|WikiProject[ _]+Former[ _]+Yugoslavia)\s*([\|}{&lt;\n])", "{{WikiProject Yugoslavia$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Zambia)\s*([\|}{&lt;\n])", "{{WikiProject Africa|Zambia=yes$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Zimbabwe|WPZW)\s*([\|}{&lt;\n])", "{{WikiProject Zimbabwe$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Zoo|WPZOO)\s*([\|}{&lt;\n])", "{{WikiProject Zoo$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProject[ _]+Zoroastrianism|Wikiproject[ _]+Zoroastrianism)\s*([\|}{&lt;\n])", "{{WikiProject Zoroastrianism$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProjectBannerShell|Shell|WBPS|WP[ _]+Banner[ _]+Shell|WP[ _]+banner[ _]+shell|WPBS|WPBannerShell|WikiProject[ _]+Banner[ _]+Shell|WikiProject[ _]+banner[ _]+shell|Wikiprojectbannershell|Wpbs)\s*([\|}{&lt;\n])", "{{WikiProjectBannerShell$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WP1\.0|0\.5[ _]+held|0\.5[ _]+nom|0\.5[ _]+set[ _]+nom|0\.7[ _]+nom|Core[ _]+topic|Releaseversion|Releaseversion[ _]+nom|V0\.7|V0\.7held|V1\.0[ _]+nom|WP[ _]+1\.0|WP1\.0[ _]+Arts)\s*([\|}{&lt;\n])", "{{WP1.0$2", RegexOptions.IgnoreCase);
//Other talk page template redirect fixes; Cleanup redirects
  //ArticleText = Regex.Replace(ArticleText, @"{{\s*(AMCOTWPast)\s*([\|}{&lt;\n])", "{{AMCOTWPast$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(Archive[ _]+box|Archive\-box|Archivebox|Talkarchives)\s*([\|}{&lt;\n])", "{{Archive box$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(ArticleHistory|Aritcle[ _]+history|Aritclehistory|Article[ _]+History|Article[ _]+history|Article[ _]+milestones|Articlehistory|Articlemilestones)\s*([\|}{&lt;\n])", "{{ArticleHistory$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(Auto[ _]+archiving[ _]+notice|AutoArchivingNotice|Autoarchivalnotice|Autoarchive|Autoarchivingnotice)\s*([\|}{&lt;\n])", "{{Auto archiving notice$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(BLP[ _]+others|Blpo)\s*([\|}{&lt;\n])", "{{BLP others$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(Canadian[ _]+English|Canadian\-English|Canspell|Quebec[ _]+English)\s*([\|}{&lt;\n])", "{{Canadian English$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(DYK[ _]+talk|DYKtalk|Dyktalk)\s*([\|}{&lt;\n])", "{{DYK talk$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(FailedGA|Failed[ _]+GA)\s*([\|}{&lt;\n])", "{{FailedGA$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(GA[ _]+nominee|GAnominee)\s*([\|}{&lt;\n])", "{{GA nominee$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(Image[ _]+requested|Reqphoto|Image[ _]+request|Imagereq|Images[ _]+needed|Photo|Photo[ _]+requested|Photoreq|Pictify|Req-photo|Reqimage|Reqimageother)\s*([\|}{&lt;\n])", "{{Image requested$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(Inactive[ _]+WikiProject[ _]+banner|WPBannerMeta\/inactive)\s*([\|}{&lt;\n])", "{{Inactive WikiProject banner$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(ISSN\-needed|NeedISSN)\s*([\|}{&lt;\n])", "{{ISSN-needed$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(ITNtalk|ITNTalk|ITNtalk)\s*([\|}{&lt;\n])", "{{ITNtalk$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(Map[ _]+requested[ _]+from|Reqmapin)\s*([\|}{&lt;\n])", "{{Map requested from$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(Infobox[ _]+requested|Infobox[ _]+needed|Need[ _]+infobox|Needs[ _]+infobox|Reqinfobox|Noinfobox|Needinfobox)\s*([\|}{&lt;\n])", "{{Infobox requested$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(Not[ _]+a[ _]+forum|Forum|Notaforum|Notforum)\s*([\|}{&lt;\n])", "{{Not a forum$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(Notice|Info|Info\-note|Infonote)\s*([\|}{&lt;\n])", "{{Notice$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(Old[ _]+AfD|OldAFD|Oldafd)\s*([\|}{&lt;\n])", "{{Old AfD$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(Old[ _]+AfD[ _]+multi|oldafdfull|AfdOldMulti|Afdoldfull|Old[ _]+AfD[ _]+full|OldAfdMulti|Oldafd2|OldafdMulti|Olddeldebate|Oldrfdmulti|Oldtfdmulti)\s*([\|}{&lt;\n])", "{{Old AfD multi$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(Oldffdfull|Oldffd|Oldifd|Oldifdfull)\s*([\|}{&lt;\n])", "{{Oldffdfull$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(Oldmfd|Mfdend|Mfdold|Oldmfdfull)\s*([\|}{&lt;\n])", "{{Oldmfd$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(Old[ _]+peer[ _]+review|Oldpeerreview)\s*([\|}{&lt;\n])", "{{Old peer review$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(Old[ _]+prod[ _]+full|OldPRODfull|Oldprodfull)\s*([\|}{&lt;\n])", "{{Old prod full$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(Oldvfdfull|Oldvfd|Old[ _]+vfd[ _]+full)\s*([\|}{&lt;\n])", "{{Oldvfdfull$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(Online[ _]+source|]Aa]uthoronlinesource|Authoronlinesource2004|Authoronlinesource2005|Authoronlinesource2006|Authoronlinesource2007|Onlinesource|Onlinesource2004|Onlinesource2005|Onlinesource2006|Onlinesource2007)\s*([\|}{&lt;\n])", "{{Online source$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(On[ _]+this[ _]+day|OnThisDay|OTDtalk|SAtalk|Selected[ _]+anniversary)\s*([\|}{&lt;\n])", "{{On this day$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(Portal[ _]+talk|Portaltalk)\s*([\|}{&lt;\n])", "{{Portal talk$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(Reqdiagram|Diagram/-needed|Diagram[ _]+needed)\s*([\|}{&lt;\n])", "{{Diagram requested$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(Round[ _]+in[ _]+circles|Circles|Circular|Round[ _]+In[ _]+Circles|Round[ _]+in[ _]+Circles|Roundincircles)\s*([\|}{&lt;\n])", "{{Round in circles$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(To[ _]+do|HKWNB[ _]+todo|Hidable[ _]+todo|Hideable[ _]+todo|Post\-it|SystemicBiasToDo|To[ _]+do[ _]+\(Wikipedia\)|To[ _]+do[ _]+\(wikipedia\)|To\-do|ToDo\:Norfolk|Todo|Todo[ _]+WP|Todo\-GA|Todo\-Louisville|Todo\-uy|Todo2|Todo4|Todolist|WP\-Todo|WikipediaTodo|Wp\-todo)\s*([\|}{&lt;\n])", "{{To do$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(Talk[ _]+header|TalkHeader|Talk[ _]+page|Talk[ _]+page[ _]+header|Talkpage|Talkpage[ _]+header|Talkpageheader|User[ _]+talk[ _]+header|Usertalkheader)\s*([\|}{&lt;\n])", "{{Talk header$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(Translated[ _]+page|Czech|Danish|EoTrans|JaTrans|KoTrans|Northern[ _]+Sami|Northern[ _]+Sámi|Translated|Translated[ _]+article|Translationsource)\s*([\|}{&lt;\n])", "{{Translated page$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProjectBanners|WPB|Wikiprojectbanners|WikiProject[ _]+Banners)\s*([\|}{&lt;\n])", "{{WikiProjectBanners$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(WikiProjectBannerShell|Shell|WBPS|WP[ _]+Banner[ _]+Shell|WP[ _]+banner[ _]+shell|WPBannerShell|WikiProject[ _]+Banner[ _]+Shell)\s*([\|}{&lt;\n])", "{{WikiProjectBannerShell$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*(Wikipedia[ _]+CD[ _]+selection|WPCD|WPCD\-Africa|WPCD\-African[ _]+animals|WPCD\-Ancient|WPCD\-Plants|WPCD\-USA|WPCD\-airspace|WPCD\-animals|WPCD\-places|WPCD\-plants|WPCD\-quakes)\s*([\|}{&lt;\n])", "{{Wikipedia CD selection$2", RegexOptions.IgnoreCase);
//Delete some general WikiProject parameters if = no
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*A\-Class[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*AOTD[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*attention[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*Biography[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*collaboration\-candidate[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*featurebox[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*in[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*in2[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*in3[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*imagedetails[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(imageneeded|image\-needed|photoneeded|phot\-needed|needsimage|needs\-image|needsphoto|needs\-photo|needs[ _]+image)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*inmedia[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(infoboxneeded|infobox\-needed|needsinfobox|needs\-infobox|needs[ _]+infobox)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(map\-needed|mapneeded|needs\-map|map[ _]+needed)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*needs\-coord[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(past\-biography|pastbiography)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(past\-picture|pastpicture)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(past\-selected|pastselected)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*peer\-review[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*old\-peer\-review[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*past\-collaboration[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*pastcollaboration[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*portal[0-9]\-name[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*portal[0-9]\-link[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*portal[0-9]\-link[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*portal[0-9]\-link[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*small[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*unref[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
//Delete some general WikiProject parameters if is missing
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*A\-Class[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*AOTD[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*attention[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*auto[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*collaboration\-candidate[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*featurebox[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*flag[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(imageneeded|image\-needed|photoneeded|phot\-needed|needsimage|needs\-image|needsphoto|needs\-photo|needs[ _]+image)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(image\-details|imagedetails)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*in[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*in2[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*in3[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*inmedia[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(infoboxneeded|infobox\-needed|needsinfobox|needs\-infobox|needs[ _]+infobox)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(map\-needed|mapneeded|needs\-map|map[ _]+needed)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*needs\-coord[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*peer\-review[ ]*=\s*\r*([\|}{&lt;\n])", "|$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*pr[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*old\-peer\-review[ ]*=\s*\r*([\|}{&lt;\n])", "|$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*oldpr[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*past\-biography[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*past\-collaboration[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*past\-picture[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*past\-selected[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*past\-selected[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*portal[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*portal[0-9]\-link[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*portal[0-9]\-link[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*portal[0-9]\-link[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*small[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*unref[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
//Delete some WikiProject Aviation task force parameters if = no
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*Aircraft[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Air\-sports\-task\-force|Air\-sports)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Accident\-task\-force|Accident)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Airports\-project|Airports)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Airlines\-project|Airlines)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*Engines[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*Gliding[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*Rotorcraft[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
//Delete some WikiProject Aviation task force parameters if missing
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*Aircraft[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Air\-sports\-task\-force|Air\-sports)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Accident\-task\-force|Accident)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Airports\-project|Airports)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Airlines\-project|Airlines)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*Engines[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*Gliding[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*Rotorcraft[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
//Delete some WikiProject Biography task force parameters if = no
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*activepol[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*blpo[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*needs\-discography[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*needs\-filmography[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*a&amp;e-work-group[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*filmbio-work-group[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*military-work-group[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*musician-work-group[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*peerage-work-group[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*politician-work-group[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*royalty-work-group[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*s&amp;a-work-group[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*sports-work-group[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
//Delete some WikiProject Films task force parameters if missing
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(American\-task\-force|American)[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(American\-task\-force|American)[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Argentine\-task\-force|Argentine)[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Australian\-task\-force|Australian)[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Awards\-task\-force|Awards)[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Baltic\-task\-force|Baltic)[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(British\-task\-force|British)[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Canadian\-task\-force|Canadian)[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Chinese\-task\-force|Chinese)[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Christian\-task\-force|Christian)[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Comic\-book\-task\-force|Comic\-book)[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Festival\-task\-force|Festival)[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Filmmaking\-task\-force|Filmmaking)[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(French\-task\-force|French)[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(German\-task\-force|German)[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Indian\-task\-force|Indian)[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Italian\-task\-force|Italian)[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Japanese\-task\-force|Japanese)[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Korean\-task\-force|Korean)[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(NZ\-task\-force|NZ)[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Nordic\-task\-force|Nordic)[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Persian\-task\-force|Persian)[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Southeast\-task\-force|Southeast)[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Soviet\-task\-force|Soviet)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Spanish\-task\-force|Spanish)[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(War\-task\-force|War)[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
//Delete some WikiProject Films task force parameters if = no
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(American\-task\-force|American)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Argentine\-task\-force|Argentine)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Australian\-task\-force|Australian)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Awards\-task\-force|Awards)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Baltic\-task\-force|Baltic)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(British\-task\-force|British)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Canadian\-task\-force|Canadian)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Chinese\-task\-force|Chinese)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Christian\-task\-force|Christian)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Comic\-book\-task\-force|Comic\-book)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Festival\-task\-force|Festival)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Filmmaking\-task\-force|Filmmaking)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(French\-task\-force|French)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(German\-task\-force|German)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Indian\-task\-force|Indian)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Italian\-task\-force|Italian)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Japanese\-task\-force|Japanese)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Korean\-task\-force|Korean)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(NZ\-task\-force|NZ)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Nordic\-task\-force|Nordic)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Persian\-task\-force|Persian)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Southeast\-task\-force|Southeast)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Soviet\-task\-force|Soviet)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Spanish\-task\-force|Spanish)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(War\-task\-force|War)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$3", RegexOptions.IgnoreCase);
//Delete some WikiProject Novels parameters if missing
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*19thC\-importance=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*19thC\-task\-force=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*australian\-importance=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*australian\-task\-force=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*crime\-importance=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*crime\-task\-force=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*fantasy\-importance=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*fantasy\-task\-force=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*hdm\-importance=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*hdm\-task\-force=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*incomp\-infobox= [ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*lemony\-snicket\-importance=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*lemony\-snicket\-task-force=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*military\-importance=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*military\-task\-force=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*narnia\-importance=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*narnia\-task\-force=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*needs\-infobox\-cover= [ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*percy\-jackson\-importance=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*percy\-jackson\-task\-force=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*roald\-dahl\-importance=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*roald\-dahl\-task\-force=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*sf\-importance=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*sf\-task\-force=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*shannara\-importance=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*shannara\-task\-force=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*short\-story\-importance=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*short\-story\-task\-force=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*sword\-of\-truth\-importance=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*sword\-of\-truth\-task\-force=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*twilight\-importance=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*twilight\-task\-force=[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
//Delete some WikiProject Novels parameters if missing
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*19thC\-task\-force=[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*australian\-task\-force=[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*crime\-task\-force=[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*fantasy\-task\-force=[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*hdm\-task\-force=[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*lemony\-snicket\-task-force=[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*military\-task\-force=[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*narnia\-task\-force=[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*needs\-infobox\-cover= [ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*percy\-jackson\-task\-force=[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*roald\-dahl\-task\-force=[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*sf\-task\-force=[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*shannara\-task\-force=[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*short\-story\-task\-force=[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*sword\-of\-truth\-task\-force=[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\|[ ]*twilight\-task\-force=[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
//Delete some WikiProject Military History task force parameters if = no
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(African\-task\-force|African)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(ACW\-task\-force|ACW)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(ANZSP\-task\-force|ANZSP)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(ARW\-task\-force|ARW)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Australian\-task\-force|Australian)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Aviation\-task\-force|Aviation)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Balkan\-task\-force|Balkan)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Baltic\-task\-force|Baltic)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Biography\-task\-force|Biography)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(British\-task\-force|British)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Canadian\-task\-force|Canadian)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Chinese\-task\-force|Chinese)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Classical\-task\-force|Classical)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Cold\-War\-task\-force|Cold\-War)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Crusades\-task\-force|Crusades)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Dutch\-task\-force|Dutch)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Early\-Modern\-task\-force|Early\-Modern)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Films\-task\-force|Films)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Fortifications\-task\-force|Fortifications)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(French\-task\-force|French)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(German\-task\-force|German)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Historiography\-task\-force|Historiography)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Indian\-task\-force|Indian)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Intel\-task\-force|Intel)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Italian\-task\-force|Italian)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Japanese\-task\-force|Japanese)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Korean\-task\-force|Korean)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Land\-vehicles\-task\-force|Land\-vehicles)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Maritime\-task\-force|Maritime)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Medieval\-task\-force|Medieval)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Memorials\-task\-force|Memorials)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Middle\-Ages\-task\-force|Middle\-Ages)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Middle\-Eastern\-task\-force|Middle\-Eastern)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Muslim\-task\-force|Muslim)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Napoleonic\-task\-force|Napoleonic)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(National\-task\-force|National)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Nordic\-task\-force|Nordic)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(no\-task\-force)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Ottoman\-task\-force|Ottoman)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Polish\-task\-force|Polish)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Russian\-task\-force|Russian)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Scitech\-task\-force|SciTech)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(South\-American\-task\-force|South\-American)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(South\-Asian\-task\-force|South\-Asian)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Southeast\-Asian\-task\-force|Southeast\-Asian)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Spanish\-task\-force|Spanish)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Three\-Kingdoms\-task\-force|Three\-Kingdoms)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(US\-task\-force|US)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Weaponry\-task\-force|Weaponry)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(WWII\-task\-force|WWII)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(WWI\-task\-force|WWI)[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
//Delete some WikiProject Military History task force parameters if missing
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(African\-task\-force|African)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(ACW\-task\-force|American[ _]+Civil[ _]+War-task-force|ACW)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(ANZSP\-task\-force|ANZSP)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(ARW\-task\-force|ARW)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Australian\-task\-force|Australian)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Aviation\-task\-force|Aviation)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Balkan\-task\-force|Balkan)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Baltic\-task\-force|Baltic)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Biography\-task\-force|Biography)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*British\-task\-force[ ]*=\s*\r*([\|}{&lt;\n])", "|", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*British[ ]*=\s*\r*([\|}{&lt;\n])", "|", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*Canadian\-task\-force[ ]*=\s*\r*([\|}{&lt;\n])", "|", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*Canadian[ ]*=\s*\r*([\|}{&lt;\n])", "|", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Chinese\-task\-force|Chinese)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Classical\-task\-force|Classical)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Coldwar|Coldwar\-task\-force|Cold\-war\-task\-force|Cold\-War)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Crusades\-task\-force|Crusades)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Dutch\-task\-force|Dutch)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Early\-Modern\-task\-force|Early\-Modern)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Films\-task\-force|Films)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Fortifications\-task\-force|Fortifications)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(French\-task\-force|French)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(German\-task\-force|German)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Historiography\-task\-force|Historiography)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Indian\-task\-force|Indian)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Intel\-task\-force|Intel)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Italian\-task\-force|Italian)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Japanese\-task\-force|Japanese)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Korean\-task\-force|Korean)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Land\-vehicles\-task\-force|Land\-vehicles)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Maritime\-task\-force|Maritime)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Medieval\-task\-force|Medieval)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Memorials\-task\-force|Memorials)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Middle\-Ages\-task\-force|Middle\-Ages)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Middle\-Eastern\-task\-force|Middle\-Eastern)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Muslim\-task\-force|Muslim)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Napoleonic\-task\-force|Napoleonic)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(National\-task\-force|National)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(no\-task\-force)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Nordic\-task\-force|Nordic)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Ottoman\-task\-force|Ottoman)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Polish\-task\-force|Polish)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Russian\-task\-force|Russian)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(SciTech\-task\-force|SciTech)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(South\-American\-task\-force|South\-American)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(South\-Asian\-task\-force|South\-Asian)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Southeast\-Asian\-task\-force|Southeast\-Asian)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Spanish\-task\-force|Spanish)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Three\-Kingdoms\-task\-force|Three\-Kingdoms)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(US\-task\-force|US)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(Weaponry\-task\-force|Weaponry)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(WWII\-task\-force|WWII)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*(WWI\-task\-force|WWI)[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
//Delete some WikiProject Trains parameters if missing
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*portaldykdate[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*portalSAweek[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*portalSIweek[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*stations[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*streetcars[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*subway[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*NYPT[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*Japan[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*UK[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*UKTrams[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*Scotland[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*NZR[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*WashingtonMetro[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*Underground[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*LUL-importance[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*SovMetro[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*Thomas[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*Jamaica[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*DE[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*bycountry[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*images[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*locos[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*maint[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*maps[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*model[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*monorail[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*operations[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*passenger[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*timelines[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*Mapdetails[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*Imagedetails[ ]*=\s*\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
//Delete some WikiProject Trains parameters if = no
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*portaldykdate[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*portalSAweek[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*portalSIweek[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*stations[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*streetcars[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*subway[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*NYPT[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*Japan[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*UK[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*UKTrams[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*Scotland[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*NZR[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*WashingtonMetro[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*Underground[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*LUL-importance[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*SovMetro[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*Thomas[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*Jamaica[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*DE[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*bycountry[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*images[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*locos[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*maint[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*maps[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*model[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*monorail[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*operations[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*passenger[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*timelines[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*Mapdetails[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*Imagedetails[ ]*=[ ]*(No|n)\r*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
//Delete some deprecated WikiProject banner parameters
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*priority[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*nested[ ]*=\s*\r*([\|}{&lt;\n])", "$1", RegexOptions.IgnoreCase);
 ArticleText = Regex.Replace(ArticleText, @"\|[ ]*nested[ ]*=[ ]*(Yes|No|n|y)\r*[ ]*([\|}{&lt;\n])", "$2", RegexOptions.IgnoreCase);
//Fix invalid punctuation in WikiProject banners
  ArticleText = Regex.Replace(ArticleText, @"{{\s*WikiProject(.*?)\|[ ]*(living|attention|auto|class|importance|small|needs\-infobox|needs\-persondata|needs\-discography|needs\-filmography|needs\-photo|past\-collaboration|peer\-review|old\-peer\-review)[ ]*(\-|\[|\]|\+|\{|\})(.*?)\s*([\|}{&lt;\n])", "{{WikiProject$1|$2=$4$5", RegexOptions.IgnoreCase);
//Change WikiProject banner parameters to lower case first letter
  ArticleText = Regex.Replace(ArticleText, @"{{\s*WikiProject(.*?)\|[ ]*Attention[ ]*=(.*?)\s*([\|}{&lt;\n])", "{{WikiProject$1|attention=$2$3");
  ArticleText = Regex.Replace(ArticleText, @"{{\s*WikiProject(.*?)\|[ ]*Auto[ ]*=(.*?)\s*([\|}{&lt;\n])", "{{WikiProject$1|auto=$2$3");
  ArticleText = Regex.Replace(ArticleText, @"{{\s*WikiProject(.*?)\|[ ]*Class[ ]*=(.*?)\s*([\|}{&lt;\n])", "{{WikiProject$1|class=$2$3");
  ArticleText = Regex.Replace(ArticleText, @"{{\s*WikiProject(.*?)\|[ ]*Importance[ ]*=(.*?)\s*([\|}{&lt;\n])", "{{WikiProject$1|importance=$2$3");
  ArticleText = Regex.Replace(ArticleText, @"{{\s*WikiProject(.*?)\|[ ]*Needs\-[Ii]nfobox[ ]*=(.*?)\s*([\|}{&lt;\n])", "{{WikiProject$1|needs-infobox=$2$3");
  ArticleText = Regex.Replace(ArticleText, @"{{\s*WikiProject(.*?)\|[ ]*Needs\-[Dd]iscography[ ]*=(.*?)\s*([\|}{&lt;\n])", "{{WikiProject$1|needs-discography=$2$3");
  ArticleText = Regex.Replace(ArticleText, @"{{\s*WikiProject(.*?)\|[ ]*Needs\-[Ff]ilmography[ ]*=(.*?)\s*([\|}{&lt;\n])", "{{WikiProject$1|needs-filmography=$2$3");
  ArticleText = Regex.Replace(ArticleText, @"{{\s*WikiProject(.*?)\|[ ]*Needs\-[Pp]ersondata[ ]*=(.*?)\s*([\|}{&lt;\n])", "{{WikiProject$1|needs-persondata=$2$3");
  ArticleText = Regex.Replace(ArticleText, @"{{\s*WikiProject(.*?)\|[ ]*Needs\-[Pp]hoto[ ]*=(.*?)\s*([\|}{&lt;\n])", "{{WikiProject$1|needs-photo=$2$3");
  ArticleText = Regex.Replace(ArticleText, @"{{\s*WikiProject(.*?)\|[ ]*Needs\-[Mm]ap[ ]*=(.*?)\s*([\|}{&lt;\n])", "{{WikiProject$1|needs-map=$2$3");
  ArticleText = Regex.Replace(ArticleText, @"{{\s*WikiProject(.*?)\|[ ]*Old\-[Pp]eer\-[Rr]eview[ ]*=(.*?)\s*([\|}{&lt;\n])", "{{WikiProject$1|old-peer-review=$2$3");
  ArticleText = Regex.Replace(ArticleText, @"{{\s*WikiProject(.*?)\|[ ]*Past\-[Cc]ollaboration[ ]*=(.*?)\s*([\|}{&lt;\n])", "{{WikiProject$1|past-collaboration=$2$3");
  ArticleText = Regex.Replace(ArticleText, @"{{\s*WikiProject(.*?)\|[ ]*Peer\-[Rr]eview[ ]*=(.*?)\s*([\|}{&lt;\n])", "{{WikiProject$1|peer-review=$2$3");
  ArticleText = Regex.Replace(ArticleText, @"{{\s*WikiProject(.*?)\|[ ]*Priority[ ]*=(.*?)\s*([\|}{&lt;\n])", "{{WikiProject$1|priority=$2$3");
  ArticleText = Regex.Replace(ArticleText, @"{{\s*WikiProject(.*?)\|[ ]*Small[ ]*=(.*?)\s*([\|}{&lt;\n])", "{{WikiProject$1|small=$2$3");
//Add = to certain WikiProject banners paramaters if missing
  ArticleText = Regex.Replace(ArticleText, @"{{\s*WikiProject(.*?)\s*\|[ ]*class[ ]*(stub|start|C|B|A|GA|FA|FL|template|category|project|portal|file|disambig|redirect)(.*?)\s*([\|}{&lt;\n])", "{{WikiProject$1|class=$2$3$4", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*WikiProject(.*?)\s*\|[ ]*importance[ ]*(low|high|mid|top)(.*?)\s*([\|}{&lt;\n])", "{{WikiProject$1|importance=$2$3$4", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*WikiProject Biography(.*?)living[ ]*(yes|no)(.*?)\s*([\|}{&lt;\n])", "{{WikiProject Biography$1living=$2$3$4", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*WikiProject(.*?)\s*\|[ ]*priority[ ]*(low|high|mid|top)(.*?)\s*([\|}{&lt;\n])", "{{WikiProject$1|priority=$2$3$4", RegexOptions.IgnoreCase);
//Fix spelling to certain WikiProject banners paramaters if missing
  ArticleText = Regex.Replace(ArticleText, @"{{\s*WikiProject(.*?)clas[ ]*=\s*([\|}{&lt;\n])", "{{WikiProject$1class=", RegexOptions.IgnoreCase);
//Reorder items on the talk page
  ArticleText = Regex.Replace(ArticleText, @"{{\s*WikiProject(.*?){{\s*Image[ _]+requested(.*?)==", "{{WikiProject$1{{Image requested$2==", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"{{\s*WikiProject(.*?){{\s*Image[ _]+requested(.*?){{\s*WikiProject(.*?)\s}}", "{{WikiProject$1{{WikiProject$3{{Image requested$2}}", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"==(.*?)\{\{[ ]*WikiProject(.*?)\}\}(.*?)==", "{{WikiProject$2}}==$1$3==", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\{\{[ ]*DYK[ _]+talk(.*?)\}\}(.*?)\{\{WikiProject(.*?)\}\}", "{{WikiProject$3}}$2{{DYK talk$1}}", RegexOptions.IgnoreCase);
  ArticleText = Regex.Replace(ArticleText, @"\{\{[ ]*WikiProject(.*?)\}\}(.*?)\{\{Talk header\}\}", "{{Talk header}}$2{{WikiProject$1}}", RegexOptions.IgnoreCase);
 return ArticleText;
  }
</Code>
  </Module>
  <ExternalProgram>
    <Enabled>false</Enabled>
    <Skip>false</Skip>
    <Program />
    <Parameters />
    <PassAsFile>true</PassAsFile>
    <OutputFile />
  </ExternalProgram>
  <Disambiguation>
    <Enabled>false</Enabled>
    <Link />
    <Variants />
    <ContextChars>20</ContextChars>
  </Disambiguation>
  <Logging>
    <LogVerbose>false</LogVerbose>
    <LogWiki>false</LogWiki>
    <LogXHTML>false</LogXHTML>
    <UploadYN>false</UploadYN>
    <UploadAddToWatchlist>true</UploadAddToWatchlist>
    <UploadOpenInBrowser>true</UploadOpenInBrowser>
    <UploadToWikiProjects>true</UploadToWikiProjects>
    <DebugUploading>false</DebugUploading>
    <UploadMaxLines>1000</UploadMaxLines>
    <LogFolder />
    <UploadJobName>$CATEGORY</UploadJobName>
    <UploadLocation>$USER/Logs</UploadLocation>
    <LogCategoryName />
  </Logging>
  <Special>
    <namespaceValues>
      <int>0</int>
      <int>1</int>
      <int>2</int>
      <int>3</int>
      <int>4</int>
      <int>5</int>
      <int>6</int>
      <int>7</int>
      <int>10</int>
      <int>11</int>
      <int>14</int>
      <int>15</int>
    </namespaceValues>
    <remDupes>false</remDupes>
    <sortAZ>true</sortAZ>
    <filterTitlesThatContain>true</filterTitlesThatContain>
    <filterTitlesThatContainText>Saskatchewan</filterTitlesThatContainText>
    <filterTitlesThatDontContain>false</filterTitlesThatDontContain>
    <filterTitlesThatDontContainText>New York</filterTitlesThatDontContainText>
    <areRegex>false</areRegex>
    <opType>0</opType>
    <remove />
  </Special>
  <Tool>
    <ListComparerUseCurrentArticleList>0</ListComparerUseCurrentArticleList>
    <ListSplitterUseCurrentArticleList>0</ListSplitterUseCurrentArticleList>
    <DatabaseScannerUseCurrentArticleList>0</DatabaseScannerUseCurrentArticleList>
  </Tool>
  <Plugin />
</AutoWikiBrowserPreferences>