Regex Tester

Test regular expressions live with highlighted matches and groups. Test regular expressions online with live match highlighting, capture-group tables and common flags. Includes a cheat sheet. Free regex playground.

Dieses Werkzeug läuft zu 100 % in Ihrem Browser. Ihre Eingaben werden nie an einen Server gesendet — Sie können nach dem Laden sogar offline gehen.

Über Regex Tester

Regular expressions are powerful and notoriously fiddly — a single missing escape changes everything. This tester shows matches highlighted inside your sample text as you type, lists every capture group with what it matched, supports the i, g, m and s flags, and reports pattern errors with their positions instead of failing silently. A built-in cheat sheet keeps the meaning of ?, +, * and friends one glance away.

So verwenden Sie Regex Tester

  1. Enter your regular expression without surrounding slashes.
  2. Toggle the flags you need.
  3. Paste sample text — matches highlight instantly.
  4. Study the group table to refine your pattern.

Wichtigste Funktionen

Which regex flavour does this tester use?
It runs your browser's native JavaScript engine, so patterns behave exactly as they will in your JavaScript code.
Why does my pattern match nothing in "global" mode?
The g flag returns all matches but changes how lastIndex behaves — if a pattern worked without g and fails with it, an anchored ^/$ combined with the m flag is the usual culprit.

Verwandte Werkzeuge aus Entwickler-Werkzeuge

Weitere Helfer aus derselben Kategorie.

Alle ansehen →