摘要: --》匹配并替换(通过正则把"08 16 2009 12:00AM”替换成"2009-16-08") string pattern1 = @"(\d{1,3})\s*(\d{1,3})\s*(\d{1,5})\s*(12:00AM)"; string values = "08 16 2009 12:00AM"; string result = Regex.Replace(values,... 阅读全文
posted @ 2009-08-25 17:05 zmxmiss 阅读(315) 评论(1) 推荐(0) 编辑