I'm attempting to make a 'check' to see if a given link matches a certain pattern. Here's what I have so far:
love = input("Enter URL: ")
while True:
if love == 'https://www.youtube.com/watch?v=*':
print("confirm, what is love?")
break
else:
print("NOT A YOUTUBE LINK")
love
is supposed to be a youtube link, starting in https://www.youtube.com/watch?v=
and ending in 11 wildcard characters. How would one do this?