我知道如何替换单词Regex,但我不知道如果单词存在,如何删除/替换整行.
Regex
textBox1.Text = Regex.Replace(textBox1.Text, "word", "");
c#
c# ×1