I set some goals in Google Analytics and can use a little help in regular expression.
Let's say I have 4 URLs
http://www.anydotcom.com/test/search.cfm?metric=blah&selector=size&value=1 http://www.anydotcom.com/test/search.cfm?metric=blah2&selector=style&value=1 http://www.anydotcom.com/test/search.cfm?metric=blah3&selector=size&value=1 http://www.anydotcom.com/test/details.cfm?metric=blah&selector=size&value=1
I want to create an expression that identifies any URL that contains selector = size but does not contain details.cfm
I know that to search for a string that DOES NOT contain another string, I can use this expression:
(^((?!details.cfm).)*$)
But I'm not sure how to add selector = size to the section.
Any help would be greatly appreciated!
regex regex-negation google-analytics
Chris Stahl Jun 01 '10 at 20:21 2010-06-01 20:21
source share