📜  正则表达式删除 html 标签 python - Html 代码示例
📅  最后修改于: 2022-03-11 14:53:30.594000             🧑  作者: Mango
代码示例1
def cleanhtml(raw_html):
cleanr = re.compile('<.*?>')
cleantext = re.sub(cleanr, '', raw_html)
return cleantext