Who does not often have the following problem?
You copy an URL from your Browser to paste in on the console to use it for ping (or other commands) that don't accept a hostname or ip with a leading "http(s)://"
How do you get rid of this the easiest? Or just don't copy it from your URL-Bar?
ping https://somedomain.org
ping: unknown host https://somedomain.org