Skip to content

Instantly share code, notes, and snippets.

View ihorkit's full-sized avatar

Ihor Kit ihorkit

View GitHub Profile
@ciaranmahoney
ciaranmahoney / Extract naked domain from full url
Created August 18, 2016 21:59
Formula for extracting naked domain from full url in Google Sheets.
=iferror(trim(REGEXEXTRACT(REGEXREPLACE(REGEXREPLACE(A2,"https?://",""),"^(w{3}\.)?","")&"/","([^/?]+)")))