Python
python 문자열에서 html 태그 없애기
BIZLAB
2020. 2. 24. 15:32
import re
def remove_tag(content):
cleanr =re.compile('<.*?>')
cleantext = re.sub(cleanr, '', content)
return cleantext
출처 : https://www.fun25.co.kr/blog/python-remove-html-tag/?page=8