Regular Express 匹配中文,所有中文标点符号
摘要:
import re import requests text=requests.get("https://movie.douban.com").text #1.匹配汉字 \u4E00-\u9FA5 re.findall('[ \u4E00-\u9FA5]+',text) #参考 https://ww 阅读全文
posted @ 2018-12-04 18:23
L,wang
阅读(603)
评论(0)
推荐(0)
浙公网安备 33010602011771号