Skip to content
SysA&E

Regex tester

Test a pattern against sample text with live highlighting and sysadmin presets.

Runs in your browser. Nothing you enter leaves this device.

Loading tool…

What this tool does

Write a pattern, paste some text and see every match highlighted as you type, with capture groups listed underneath. The presets cover the things admins match most: addresses, timestamps, log formats and identifiers.

How to use it

  1. Enter a pattern and set flags, or start from a preset.
  2. Paste the log lines or text you want to match against.
  3. Matches are highlighted in place; groups are listed below.

Questions and answers

Which regex flavour is this?

JavaScript (ECMAScript). Patterns port to PowerShell (.NET), Python and PCRE with few changes; the main differences are named-group syntax and lookbehind support in older engines.

Can a bad pattern freeze the page?

Matching runs in a background worker with a time limit, so a pattern that backtracks catastrophically is stopped and reported instead of hanging the tab.

Is my text uploaded?

No. Matching happens in your browser. Log excerpts with internal hostnames or addresses stay on your device.