摘要: crazystring = ‘dade142.;!0142f[.,]ad’ 只保留数字 filter(str.isdigit, crazystring) ‘1420142’ 只保留字母 filter(str.isalpha, crazystring) ‘dadefad’ 只保留字母和数字 filte 阅读全文
posted @ 2016-11-14 17:28 alisonzhu 阅读(8966) 评论(0) 推荐(0) 编辑