User:Reguyla/sandbox4

 WikiFunctions.Parse.HideText ht = new WikiFunctions.Parse.HideText(true, false, true); public string ProcessArticle(string ArticleText, string ArticleTitle, int wikiNamespace, out string Summary, out bool Skip) { Skip = false; Summary = ""; ArticleText = ht.Hide(ArticleText); // //Remove uneeded categories ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Abby\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Wesley Crusher\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Wedding Planning\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Waiter\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Vietnamese\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Video Games\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Transporter\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Tires\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:The Fowlers\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:The Big Bang Theory Seasons\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Stolen Goods\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:States\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Spring\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon and Leonard's Theory\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon and Amy's apartment\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon-Amy Reunited\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Shamy kiss\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Separated\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Relationship Agreement\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Raj's ex-girlfriends\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Psychology\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Psychiatrist\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Prequel\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of Katie Leclerc\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of Joshua Malina\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of Jen Drohan\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of Eliza Dushku\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of Brooke D'Orsay\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of Bill Prady\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of Becky O'Donohue\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Piano\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Penny Blossoms\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Penny-Leonard\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Penny's Brother\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Paintball\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Oliver\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Nonrecurring parts\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:No Christmas episode\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Nell\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Mother\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Money\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Memorial\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:May 2018\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Marriage\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:March Episodes\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Lying\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Leonard and Alex\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Leonard Hofstadter\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Last episode in March\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Larry Fowler\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Judd Hirsch\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Jimmy Speckerman\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Categories\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Cameo appearance\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Black Market\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Bernadette not pregnant\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Bernadette's co-workers\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Background\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:BBTWikians with over 500 edits\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:BBTWikians with over 250 edits\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:BBTWikians who own a PS1\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:BBTWikians who have watched Season 6\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:BBTWikians who have completed Season 5\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Appears in all seasons/series\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Vegan\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:V.M. Koorthrappali\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Trouble in Paradise\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Terminator\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sweden\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Surprises\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Stuart Mentioned\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Stand By Me\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon and Leonard fight\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon and Amy\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon-Ramona\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Serial Ape-ist\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Season 3 (Young Sheldon)\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Rocks\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Rat Bastard\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Quantum mechanics\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Play\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of Stan Lee\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of Riki Lindhome\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of Oliver Muirhead\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of Mike Massimino\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of Lewis Black\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of Keith Carradine\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of Josh Brener\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of Jodi Lyn O'Keefe\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of Ian Scott Rudolph\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of George Takei\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of George Smoot\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of Erin Allin O'Reilly\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of DJ Qualls\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of Brian Wade\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of Brian George\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of Brent Spiner\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of Amanda Walsh\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of Alice Amter\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Physics\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pharmaceuticals\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Penny quits her job\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Penny not acting\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Penny is jealous\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Penny-Leonard apart\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Penny's hair\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Penny's Rivals\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Penny's Father\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Nobel Laureates\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:No appearances in Seasons 1, 3, 4, 5\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:No appearances in Seasons 1, 2, 3, 4, 5, 6, 7, 8\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:No appearances in Season 9\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:No appearances in Season 5\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:No appearances before season 8\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:No appearances before Season 7\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:No appearances before Season 4\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Napkin\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Namesake\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Mr. Fowler\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Movie Premiere\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Military\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Mike\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Meteorite\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Mentioned in Series 10\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Maternal\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Mary\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Mars\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Male BBTWikians\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Magic Tricks\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Leonard-Penny together\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Leonard's mom\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Lenny Relationship Agreement\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Lawyers\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Laundry Room\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Klingon\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Kevin Smith\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Katey Sagal\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Jealousy\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Janitor\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Jack McBrayer\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Intervention\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Howard-Bernadette engaged\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:High IQ\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Has been arrested\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Harvard\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Gym\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Group\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Girlfriend Pact\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Ghostbusters\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Fort\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Flashback moments\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:First appearance is in Season 10\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Finished Seasons\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Fiction\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Fence\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:February episodes\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:February 2012\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Farm\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:F.B.I.\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Embarrassment\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Divorced\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Dinner\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Dean Norris\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Dating Scientist\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Dad issues\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:DC Superheroes\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Customer\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Custodian\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Crush on Sheldon\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Convention\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Conspiracies\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Composer\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Community\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Comedians\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:College\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Clueless\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Broken up\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Brisket\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Bowling\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Bestie\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Bert's women\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Bert's girlfriend\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Back To The Future\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Bachelor Party\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:BBTWikians with over 750 edits\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:BBTWikians with over 1000 edits\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:BBTWikians who own an Xbox\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:BBTWikians who don't believe in edit counts\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Astronomer\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Arizona\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Appearances in Season 11\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Apartment 5A\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Amy Dating\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Airplane\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Adam Nimoy\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:8 Simple Rules\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:2-timing Raj\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Zombie\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Young Sheldon crossover\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Young Sheldon Series 1\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Written Transcript\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Worked for Sheldon\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Work Song\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Wolowitz family\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Wolowitz\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Wise-cracking\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Winter 2018\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Wild West\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Wil\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Wedding feels\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Wedding Gifts\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Wedding Day\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Vow Renewal\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Vomit Comet\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Video Game System\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Vet\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Valentine's Day episode\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:VHS\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Unnamed characters\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Unmentioned characters\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Two TBBT Shows\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Two Part Arc\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Two Actors Portrayed\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Tour\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:The Wolowitz family\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:The Cooper's Children\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Telescope\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Tea\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sweater\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Super Asymmetry\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Student\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Stuck Up\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Stuart moves out\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Stuart's Past\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Store\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Stars\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Star Trek Reference\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Special episodes\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Space Shuttle\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Smallville\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Singing while working\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Singing\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon on drugs\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon on Vacation\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon on Caffeine\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon interrupts Amy's date\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon has problems\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon being seductive\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon and Penny\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon and Howard\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon Tells Jokes\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon Retracts\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon Injured\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon Goes Crazy\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon Drives\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon Drinks\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon-Leonard\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon-Amy together\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon-Amy engaged\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon-Amy Living Together\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon's family\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon's Ear\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon's Childhood References\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldnadette\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Shamy working together\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Shamy science experiment\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Shamy not living together\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Shamy fight\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Shamy coitus\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Shamy broken up\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Shamy argument\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Shamy Milestone\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Shamy's apartment\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sexual Harrassment\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sex\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Series 8 appearances\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Series 11 characters\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Series 10 appearance\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:September 2008\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Secrets\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Secret\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Season 12 episodes\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Season 11 episodes\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Screen writer\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Science Guys\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Science Fiction\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Science Books\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Savenger Hunt\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sarah Michelle Gellar\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sara Gilbert\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Santa Claus\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sales Personal\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sailor's hat\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Rosanne\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Rock Band\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Rock-Paper-Scissors\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Robin\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Rival\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Risk\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Reunion\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Retired\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Research Paper\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Repetition\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Renaissance Fair\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Relationship Advancement\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Redirection\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Recurring\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Real Characters\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Raj moves out\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Raj-Emily not together\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Raj-Emily Breakup\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Raj's father\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Princess Bride\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Previously mentioned only characters\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Premiere Episode\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Possible pregnancy\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pop-Tart\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Planetarium\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of Vernee Watson\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of Steve Wozniak\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of Neil deGrasse Tyson\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of Jim Turner\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of Elizabeth Bogush\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of Adam Gregor\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Photos of Kaley Cuoco\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pharmacy\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Penny learns some Physics\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Penny being dumb\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Penny Studies\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Penny Single\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Penny Angry\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Penny-Raj\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Penny's men\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Penny's family\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Penny's exes\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Penny's Mother\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Penny's Car Breaks Down\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Penny's Boss\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pastor\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Parking Lot\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:October 2013\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Nurse\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:No appearances in Series 7, 8, 9\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:No appearances in Series 1, 2, 3, 4, 5\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:No appearances in Seasons 6, 8\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:No appearances in Seasons 1, 3, 4, 5, 6, 7, 8, 9\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:No appearances in Season 4\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:No appearances in Season 3\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:No appearances in Season 2\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:No appearances before Series 10\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:No appearances after Season 3\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:No appearance in Season 1\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:No Stuart Appearance\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:No Shamy\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:No Season 9 appearances\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:No Season 8 appearances\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:No Season 7 appearances\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:No Season 5 appearances\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:No Priya appearance\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Networks\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Nerds in love\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Nephew\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Neil Diamond\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Nathan Fillion\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Mystery\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Mrs. Wolowitz dies\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Moved\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Model Rockets\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Model Rocket\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Misunderstanding\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Minister\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Milestone episode\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Microsoft\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Michael Hofstadter\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:May 2016\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Marriage troubles\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Love song\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Long Timespan Between Appearances\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Line for a movie\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Line Cutting\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Limo\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Leonard on a date.\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Leonard is jealous\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Leonard Single\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Leonard & Penny\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Leonard-Leslie\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Leonard's mother\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Leonard's infatuation\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Lenny married\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Law & Order\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Large Timespan Between Appearances\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Kunal Nayyar Interviews\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Koothrappali family\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Koothrapali\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Keith Carradine\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Kazakhstan\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Kathy Bates\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Kareem Abdul-Jabbar\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Karaoke bar\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:John Ross Bowie\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Joe Manganiello\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Job offer\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Jim Parsons Interviews\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:January 2017\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Janine\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Jail\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Image\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Howard and Sheldon are friends\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Howard and Leslie\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Howard and Bernadette\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Howard and Amy bonding\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Howard Wolowitz\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Howard-Raj\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Howard-Bernie\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Howard-Bernardette Parents\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Howard-Bernadette breakup\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Howard's mom\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Howard's Invention\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Hotel\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Holiday-themed episode\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:History\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:HR\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Gullible Sheldon\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Great-Aunts\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Gold Digger Girl\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Finance\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Final appearance of Mrs. Wolowitz\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Fencing\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Father Figure\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Family Guy\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Fall 2008\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Fake Cable Guys\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Extra\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Exes\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Excelsior\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Escape Room\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Errors\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Emily or Claire\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Emily or Cinnamon\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Emily Single\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Elopement\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Ellen show\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Ellen Degeneres\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:East Texas\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Earthquake\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Dream\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Dr. Hofstadter\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Donations\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Documentary\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Doc Brown\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Discovery\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Desert\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:December 2016\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Dave Gibbs\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:DVDs\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Crush on Amy\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Creator\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Cousin\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Cosmonauts\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Cooper\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Connection\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Confirmed Seasons\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Clothes\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:City Hall\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Cell Phone\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Category:Characters\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Cabin in the Woods\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Bruce Wayne\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Brown Hair\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Bromance\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Brilliant\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Breast\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Break Up\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Boys\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Boat\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Blue Collar\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Blossom\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Blackmail\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Billionaires\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Bert-Sheldon\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Bernadette Rostenkowski-Wolowitz\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Bernadette-Howard Married\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Beauty Pageants\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Baby Wolowitz being born\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:BBT Moderators\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:BBTWikians with over 2500 edits\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:BBTWikians who owns a Wii\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:BBTWikians who owns a DS\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Articles with Categories\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Anthropologists\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Annulled marriage\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Amy Shamy\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Amy Popular\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Amy-Dave together\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:America's Next Top Models\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Allergic Reaction\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:All seasons except Season 1\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Alfred-Mary\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Addiction\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Zack Catagory\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Wrestling\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Witty\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Will Shamy Get Back Together?\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Werewolf\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Water Broke\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Voice actresses\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Vasectomy\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Tweens\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Topologist\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Theme\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:The Electric Can Opener Fluctuation\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Television Journalist\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Tardis\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sudden Realization\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Strick\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Speaker\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Solar Reflection\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Slicing\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Silent\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon gets hurt\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon Worried\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Sheldon-Wil\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Shamy married\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Shamy Engaged 2\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Series 2 locations\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Seasons 1-12\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Scooter\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Satellites\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:S9E19\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Rock band\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Renovations\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Reactor\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Raj drunk\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Raj-Emily Fight\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Radio Show\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pushing science\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Promoter\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pluto\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of James Burrows\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pictures of Christopher Douglas Reed\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Penny and Amy\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Penny-Penny-Penny\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Penny's acting career\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Penn\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Partner\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Pact\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Oppenheimer\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Noncannon\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:No Emily appearance\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:New Dehli\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Neil Armstrong\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Naked\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Moth to a flame\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Main Actors\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Lizard Spock\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Leslie Winkle\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Leonard and Leslie\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Leonard's love interests\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Legoland\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Late Valentine's Day\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Kranken\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:In Orbt\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Idol for Women\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Howard has a crush on Penny\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Howard-Leslie together\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Howard's Bedroom\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Holocaust\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Helmsman\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Grand Opening\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Giant Teddy Bears\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:G Rated\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Floor Boards\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:First Baby\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Faux Date\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Fall\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Ex-love interest\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Equipment\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Emotion Machine\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Elementary School\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Drinking Game\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Dinner Party\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Delayed\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Dads\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Counterfactuals\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Code Word\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Chili\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Champagne\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Car Service\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:CERN\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Brother George\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Book\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Biofuel\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Bert has a girlfriend\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Belarus\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:BBTWikians who owns a PS2\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Application\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Annulment\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Amy No Lines\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Amy's Mother\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Alessandra Torresani\]\]", ""); ArticleText=Regex.Replace(ArticleText, @"(?i)\[\[Category\:Admins\]\]", ""); return ht.AddBack(ArticleText); return ArticleText; }