Free tool · Looker Studio

Looker Studio Regex Generator Turn a list of values into a regex pattern.

Paste pages, campaigns or keywords, one per line, and get a copy-paste-ready pattern for REGEXP_MATCH filters. Special characters are escaped for you.

Your regex pattern
Enter values above

Use in a calculated field: REGEXP_MATCH(Page, "…"), or in a filter with Matches regex.

Features

Everything you need for clean Looker Studio filters

Four match modes

Contains, exact match, starts with and ends with, so you can match anywhere in a value or the whole string.

Case control

Keep the original case, ignore case with (?i), or convert everything to lower or upper case.

Whole-word matching

Add word boundaries so "seo" doesn't also match "seoul".

Batch processing

One value per line. Patterns are combined with the OR operator ( | ) automatically.

Automatic escaping

Dots, slashes, question marks and other special characters are escaped for accurate matching.

Copy-paste ready

Patterns use RE2 syntax, which Looker Studio's REGEXP functions understand.

How to use it

From list to filter in under a minute

  1. Paste your values, one per line: URLs, campaign names, keywords or anything else.
  2. Pick a match type, case handling and whether to match whole words only.
  3. Copy the pattern the moment it updates.
  4. Paste it into Looker Studio as a filter condition (Matches regex) or inside REGEXP_MATCH in a calculated field.

Perfect for REGEXP_MATCH filters, campaign-name filtering, URL pattern matching, include/exclude segments, and handling many conditions in one go.

Reporting on rankings too?

Export live keyword positions to CSV and drop them straight into Looker Studio.