Google Analytics Regular Expression Tester
This utility provides real-time feedback on your regular expressions before you insert them into a filter in Google Analytics.
Does your company keep a backup of your Google Analytics data? If not, start today.
- Enter the regular expression in the first line.
- Then enter items you want the regex to try to match. Each entry should be on a separate line.
- Click the "Test Regex" button.
- The items your regular expression match will be displayed below.
Enter Items to Test (one per line)
We recommend applying all changes to filters and goals to a sandbox profile before applying them to your main profile. We are not responsible for data that gets irretrievably lost or reformatted because of regular expressions you tested here. If Google Analytics ever changes their regex engine, they wouldn't necessarily tell us about it.