AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

5.5K members online now
5.5K members online now
Ask questions about filter set-up and issues with using filters in Google Analytics reports
Guide Me

Case sensitivity not honored in Regex

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

On filtering report with a regex to differentiate between lower and upper case characters, the results are not as expected. That is [a-z] and [A-Z] are not considered as different regex.

What should be done in such a case?



Ak [censored]a

1 Expert replyverified_user

Re: Case sensitivity not honored in Regex

Rising Star
# 2
Rising Star
Hi Ak [censored]a,

Typically it's not a best practice to have mixed cases anywhere but page titles. I suggest lowercase filters for campaign medium, campaign source and request URI in your analysis views (keep an unfiltered view).

That said, it doesn't help you now with your historical data. The only place you can use case sensitivity is in View filters by ticking the checkbox.

It's kludgy, but you can always download to Excel and filter there.


Theo Bennett
Analytics Evangelist at MoreVisibility | Contact Me
Connect on LinkedIn