Formula Library

Excel Formula To Extract Url Path Depth 2 In Webhook Payload Text

Extract URL path information in webhook payload text with a ready-to-use formula for Excel, Google Sheets, and WPS.

Quick answer

Extract url path depth 2 in webhook payload text.

Unified formula

ExcelWPS
=LET(u,A2, IFERROR(TEXTAFTER(TEXTBEFORE(u, "?"), "//"), u))
View platform differences

Google Sheets

=IFERROR(REGEXEXTRACT(A2, "https?://[^/]+(/[^?#]*)"), "/")

How it works

Need a custom version?

Related formulas