I am trying to match two different URLs using a regular expression for a google analytics filter and I can’t seem to get it right.
I am try to match
sub.domain.com and http://www.domain.fr
This is the regular expression I used,
(sub\.domain\.com)|(www\.domain\.fr)
and I tried this as well
(sub\.domain\.com|www\.domain\.fr)
Neither of them worked.
What is the right regular expression to match the two urls?
Turns out it was the script I was using to test it that was faulty, using gskinner helped. Thanks twilson