This article is about Universal Analytics properties, which will stop processing data on July 1, 2023 (October 1, 2023 for Analytics 360 properties). If you haven't already, start using a Google Analytics 4 property.

Test your regular expressions

An easy way to test a regular expression on your own data is to navigate directly to a report in your view and use the advanced table-filter feature.

For example, to try out a regular expression that filters pages:

  1. Sign in to Google Analytics.
  2. Navigate to your view.
  3. Open Reports.
  4. Select Behavior > Site Content > All Pages.
  5. Above the table, click advanced.
  6. Create a condition:
    [select: Include or Exclude] Page [select: Matching RegExp] [enter regular expression]
  7. Click Apply.
Was this helpful?
How can we improve it?
Clear search
Close search
Google apps
Main menu
Search Help Center