Tip #42[URL class]

The built-in URL class allows you to easily extract information about a given URL without the need to make use of regular expressions:

Live example:

If you like the tip, please give me some applause 👏

--

--