← All workbenches

REGEX

Test a pattern and see exactly what it matched.

Start with bundled examples or bring your own pattern in Pro. Inspect matches, captures, replacements, and Pattern Insights without sending your text away.

  • Matches and captures
  • Replacement preview
  • Pattern Insights
Download for Mac

Free download. Requires macOS 14 or later.

WHAT IT HELPS WITH

Move from a pattern to a result you can check.

See every match

Search the result rows, inspect each match and capture with its line and column, then jump back to the highlighted source. The table shows up to 1,000 matches and tells you when results are capped.

Preview and check changes

See the replacement before applying it, undo when you need to step back, and keep small match or no-match cases beside the pattern.

Understand the pattern

Pattern Insights explains supported parts of the expression and points out shapes that deserve a closer look.

TAKE IT WITH YOU

Export the result or start from generated code.

Copy the visible match rows as TSV, export them as CSV or JSON, or generate a starting point for Python, JavaScript, Go, or Java.

Each language has its own regular expression behavior. Review the generated code and warnings against the runtime where it will be used.

PythonStandard library example
JavaScriptBuilt-in RegExp example
GoStandard library example
JavaStandard library example

ACCESS

Learn from complete examples. Bring your own pattern when you need it.

FREE — INCLUDED

Work through the bundled examples.

  • Inspect matches and captures
  • Preview replacements and run tests
  • Copy or export the result

PRO — ADDS

Use your own pattern and text.

  • Enter a custom pattern
  • Bring your own test text
  • Use a custom replacement with the same inspection workflow

LOCAL BY DEFAULT

Your pattern and test text stay on your Mac.

Matching, capture inspection, replacement previews, tests, and exports run locally. Regex does not send your pattern or test text to a KeLoc server.

Read the Dev Workbench privacy policy