User:Kumi-Taskbot/tasks/Populatelistas

public string ProcessArticle(string ArticleText, string ArticleTitle, int wikiNamespace, out string Summary, out bool Skip)
 {
  Skip = false;
  Summary = "";
//Add listas from WikiProject Biography if needed
  ArticleText = Regex.Replace(ArticleText, @"{{\s*WikiProject[ _]+Biography(.*?)listas[ ]*=(.*?)}}(.*?){{\s*WikiProject[ _]+United[ _]+States[ ]*\|(.*?)}}", "{{WikiProject Biography$1listas=$2}}$3{{WikiProject United States|$4|listas=$2}}", RegexOptions.IgnoreCase| RegexOptions.Multiline);;
return ArticleText;
  }