The protocol or scheme is the "http" or "https" keyword. The colon is a separator. The "//" introduces the "authority component" or host.
https://en.wikipedia.org/wiki/URL#Syntax
Whatever the user is "throwing at you" if it doesn't have these things in the front, it is not a "URL". It is not even a "protocol-relative URL".