2019独角兽企业重金招聘Python工程师标准>>> string str = TB_JHTSPZ_FKZH.Text.Trim(); str = str.Replace(" ",""); this.TB_JHTSPZ_FKZH.Text = System.Text.RegularExpressions.Regex.Replace(str, @"(\w{4})", "$1 ").Trim(' '); 转载于:https://my.oschina.net/u/2446847/blog/1536228