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.