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, navigate to your view, then:

  1. Select the Reporting tab.
  2. Navigate to Behavior > Site Content > All Pages.
  3. Above the table, click advanced.
  4. Create a condition:
    [select: Include or Exclude] Page [select: Matching RegExp] [enter regular expression]
  5. Click Apply.

How helpful is this article:

Feedback recorded. Thanks!
  • Not at all helpful
  • Not very helpful
  • Somewhat helpful
  • Very helpful
  • Extremely helpful