mysql: extract domain from url By Ricardo MallaApril 17, 2021uncategorized SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(a0_custom_import_contacts.website, '//', '.'), '/', 1), '.', -2)