Formula Library

Excel Formula To Extract Tld Net From Domain In Product Feed Text

Extract top-level domain values from URLs in product feed text with a ready-to-use formula for Excel, Google Sheets, and WPS.

Quick answer

Extract tld net from domain in product feed text.

Unified formula

ExcelWPS
=LET(host,TEXTBEFORE(TEXTAFTER(A2,"//"),"/"), TEXTAFTER(host, ".", -1))
View platform differences

Google Sheets

=IFERROR(REGEXEXTRACT(A2, "\.([A-Za-z]{2,})(?:/|\?|#|$)"), "")

How it works

Need a custom version?

Related formulas