Community Patterns

Community Library Entry

0

Regular Expression
Created·2019-04-20 07:00
Flavor·PCRE (Legacy)

/
^https?:\/\/(?:.*\.)?(.*?)\..*
/
gm
Open regex in editor

Description

This is not 100% but if you just need for example a loose guess how many impressions are referred from a search engine and don't want to track specific locales (google.com, google.cn, google.in, etc) you can just compare against a much smaller list (google, bing, duckduckgo, etc) Separate group for TLD.

Submitted by anonymous