string words = "草|红军|法法|尼玛|点点";
string tmp = FormatWords(words);
string content = "的手机发来的就撒了福建代理商叫饭藏大立草科技飞尼玛洒了法法解到了司法局了解到萨拉放假了多少积分";
string dd = Regex.Replace(content, words, "***", RegexOptions.IgnoreCase);
//bool d = Regex.IsMatch(content, words, RegexOptions.IgnoreCase);