def sanitize_morse(self, morse):
sanitized = re.sub("_", "-", morse)
sanitized = re.sub(r"[^\-\.\/]", " ", sanitized)
- sanitized = re.sub(r"\|", "/", sanitized)
sanitized = re.sub(r"\s+", " ", sanitized)
sanitized = re.sub(r"( ?/ ?)+", " / ", sanitized)
sanitized = re.sub(r"^[ /]+", "", sanitized)