Sometimes the parameters in WikiProject banners are input correctly either by individuals or bots and it would be good to fix some of that. There are a lot of parameters that many/most WikiProjects share that could be fixed. A few examples are provided below:
ArticleText = Regex.Replace(ArticleText, @"{{\s*WikiProject(.*?)\s*\|[ ]*class[ ]*(stub|start|C|B|A|GA|FA|FL|template|category|project|portal|file|disambig|redirect)(.*?) *\r?([\|}{<\n])", "{{WikiProject$1|class=$2$3$4", RegexOptions.IgnoreCase); ArticleText = Regex.Replace(ArticleText, @"{{\s*WikiProject(.*?)\s*\|[ ]*importance[ ]*(low|high|mid|top)(.*?) *\r?([\|}{<\n])", "{{WikiProject$1|importance=$2$3$4", RegexOptions.IgnoreCase); ArticleText = Regex.Replace(ArticleText, @"{{\s*WikiProject Biography(.*?)living[ ]*(yes|no)(.*?) *\r?([\|}{<\n])", "{{WikiProject Biography$1living=$2$3$4", RegexOptions.IgnoreCase); ArticleText = Regex.Replace(ArticleText, @"{{\s*WikiProject(.*?)\s*\|[ ]*priority[ ]*(low|high|mid|top)(.*?) *\r?([\|}{<\n])", "{{WikiProject$1|priority=$2$3$4", RegexOptions.IgnoreCase);