About Cacher
Web App
Download
Sign In
Sign Up
menu
Cacher is the code snippet organizer for pro developers
We empower you and your team to get more done, faster
Learn More
bayue
10/10/2014 - 4:54 AM
share
Share
add_circle_outline
Save
去除html中的空标签对
去除html中的空标签对
gistfile1.py
content_copy
file_download
import re html = re.sub(r'<([a-z]+\d?)\b[^>]*>( |[\s ])*</\1>', '', html)
clear