Python 正则表达式提取 HTML 标签中的汉字
import re
text = '威!廉#希!尔澳!门#彩!票立!博b!e#t365必!发里的汉字'
pattern = '<a class="changeNav".?>(.?)'
matches = re.findall(pattern, text)
for match in matches: print(match)
原文地址: https://www.cveoy.top/t/topic/nISu 著作权归作者所有。请勿转载和采集!
安全问答是一个知识全球问答,包含丰富的问答知识
import re
text = '威!廉#希!尔澳!门#彩!票立!博b!e#t365必!发里的汉字'
pattern = '<a class="changeNav".?>(.?)'
matches = re.findall(pattern, text)
for match in matches: print(match)
原文地址: https://www.cveoy.top/t/topic/nISu 著作权归作者所有。请勿转载和采集!