Extract domain name from URL
Extract only the domain name from the URL. Please use it when you want to remove the directory name and file name, or when you want to know the URL of the TOP page.
[ Example 1 ]
[ Example 2 ] It is also possible to split and output at the domain level as follows.
[ Example 3 ] You can also delete the information under the directory and extract the URL of the TOP page.