# Link parser
# Author: De-visible
# ICQ#:223333575
# Mega - Script
import re
file_name = "text.txt"
out_file = "out.txt"
x = []
with open(file_name) as txt:
with open(out_file,'w') as outf:
for line in txt:
outf.write(str(re.findall(r'http:\/\/(.*?)\/',line))[2:-2]+"\n")
print "completed"