def sanitize_code(code):
	"""
	Sanitize code removing unnecessary characters

	Params:
		code (str): target code

	Returns: the sanitized code
	"""

	if code:
		code = code.replace('-', '')
		code = code.ljust(7, '0')
	return code