def extract(line):
	"""Return a tuple (uin, nick) from 'O11111111	nickname'"""
	
	line = line.replace("\n", "")

	uin = line[1:line.find("\t")]
	
	# fix uin
	uin2 = ""
	for c in uin:
		if c.isdigit():
			uin2 += c
	uin = uin2
	
	nick = line[1+line.find("\t"):]
	nick = nick.replace("/", "_")
	nick = nick.replace(":", "_")
	return (uin, nick)