Im setting up a custom report in google analytics to only show results where the network domain ends with .ac.uk or .sch.uk
(So we can see what universities have been on the website).
I just need to know what the regular expression would be for this?
You may use
\.(ac|sch)\.uk$
Details:
\.
- a dot(ac|sch)
- either ac
or sch
\.
- a dotuk
- uk
and$
- end of string.