python按照多个字符对字符串进行分割(split),pythonsplit,import reDAT
python按照多个字符对字符串进行分割(split),pythonsplit,import reDAT
import reDATA = "Hey, you - what are you doing here! welcome to sharejs?"print re.findall(r"[\w']+", DATA)
输出结果如下
['Hey', 'you', 'what', 'are', 'you', 'doing', 'here', 'welcome', 'to', 'sharejs']
相关内容
- python从ftp服务器下载文件,,import ftpli
- python利用asyncore的端口映射(端口转发),pythonasyncore,im
- python复制整个目录的方法,python复制整个目录,import s
- python获取指定路径下所有指定后缀的文件,python后缀
- Python 导出数据到Excel可读取的CSV文件,pythoncsv,import c
- python统计字符串中指定字符出现的次数,python字符串
- Use python to calculate the N smallest eigenvalues of a tridiagonal m
- linux下python抓屏小程序,linuxpython抓屏,#!/usr/bin/p
- python的bcrypt加密方式验证,pythonbcrypt加密,>>> i
- python中的黄金分割法,python黄金分割法,''' a,b = br
评论关闭