import regex as re
output = Element("output")
css = "style='user-select: none;'"
def remove():
text = Element("remove").element.value
output.element.innerHTML = f"Output:"
for l in text.split("\n"):
display(re.sub("https://|http://", "", l),target="output")