apoc.data.domain

Function

apoc.data.domain('url_or_email_address') YIELD domain - extract the domain name from a url or an email address. If nothing was found, yield null.

Signature

apoc.data.domain(url_or_email_address :: STRING?) :: (STRING?)

Input parameters

Name Type Default

url_or_email_address

STRING?

null