替换字符串中所有的空格

Regex.Replace(model.Detailed,">\\s+<","><");

原文地址:https://www.cnblogs.com/guozhe/p/3054706.html