GA4 Regex Tester

Test your GA4 regex patterns against multiple lines. Use it to validate event names, page paths, campaign terms, and more.

GA4 Regex Examples:

^/products/.* – Match all product pages
^contact$ – Match exact “contact”
^purchase|signup – Match “purchase” or “signup” events
^utm_.* – Match any parameter starting with utm_