Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from sys import argv
- from re import compile
- f = open(argv[1])
- b = f.read()
- f.close()
- p = compile('<RT>.*</RT>')
- m = p.sub('', b)
- f = open(argv[1] + '_remove_rt', 'w')
- f.write(m)
- f.close()
- print('[*] All RT tag were removed.')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement