摘要: python 正则表达式操作指南以下内容不错http://luy.li/2010/05/12/python-re/http://wiki.ubuntu.org.cn/Python%E6%AD%A3%E5%88%99%E8%A1%A8%E8%BE%BE%E5%BC%8F%E6%93%8D%E4%BD%... 阅读全文
posted @ 2013-05-28 16:18 前行者2011 阅读(108) 评论(0) 推荐(0) 编辑
摘要: import sys,glob,re,fileinputpattern = r'(\d{3})\D*(\d{3})\D*(\d{4})\D*(\d*)$''''测试数据:800-555-1212800 555 1212800.555.1212(800) 555-12121-800-555-12128... 阅读全文
posted @ 2013-05-28 15:40 前行者2011 阅读(266) 评论(0) 推荐(0) 编辑