simple tool to strip tags

master
Isaac Riley 6 years ago
parent 6562f32081
commit dbb3dd305e

@ -0,0 +1,6 @@
import re
def strip_tags(rawtext):
text = re.sub("<p>", "\n\t", rawtext)
text = re.sub("<.+?>", "", rawtext)
return text
Loading…
Cancel
Save