Entwickler-Tools

Regex-Tester

Reguläre Ausdrücke mit Echtzeit-Übereinstimmungshervorhebung testen

no pattern
//
Test String0 chars · 1 lines
Substitution Result
Match Information
Match 1 of 1
Match 1
empty string
index 0 · length 0
✨ AIAssistant
Explanation
Enter a pattern to see its breakdown
History

Regex Tester & Debugger

Test and debug regular expressions with live match highlighting, group capture, and flag support. Works with JavaScript regex syntax. Paste your pattern, enter test text, and see matches instantly.

FAQ

What regex flags are supported?

g (global), i (case-insensitive), m (multiline), s (dotAll), u (unicode), and y (sticky) — the same flags as JavaScript's RegExp.

How do I match a whole word?

Use word boundaries: \bword\b matches 'word' but not 'words' or 'keyword'.

How do I make a regex case-insensitive?

Add the i flag. /hello/i will match Hello, HELLO, hElLo, etc.

What is a capture group?

Parentheses create a capture group: (\d+) captures one or more digits. Named groups use (?<name>pattern).

Nicht das Richtige dabei?

Wir bauen kostenlose Tools nach Community-Feedback. Schlagen Sie heute noch ein Tool vor!

Regex-Tester — Kostenloses Tool Online | FreeTool24 | FreeTool24