Extracts the hostname from a URL, stripping the www. prefix if present.
www.
A URL string to parse.
The hostname without the www. prefix, or an empty string if the URL is invalid.
Extracts the hostname from a URL, stripping the
www.prefix if present.