做下记录,有需要的可以看看交流。 string text = ".?,.HI.,.,!"; Regex rgx = new Regex("\\p{P}"); text = rgx.Replace(text, "");