摘要: 欧洲有习惯,每3位数值加个逗号分隔,我写了个这样的正则…… (\d+?)(\d{3})*(\.\d+|$) 然后C# 程序里这样用 private string FN(string num) { string newstr = string.Empty; Regex r = new Regex(@"(\d+?)(\d{3})*(\.\d+|$)"); Match m... 阅读全文
posted @ 2009-03-11 16:38 zzh 阅读(2402) 评论(0) 推荐(0) 编辑