DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Strip Html Tags
import re
text = re.replace('<.*?>', '', html)





Comments
Snippets Manager replied on Thu, 2006/03/23 - 2:37am