Explosion Tools

Regex Tester — Regular Expression Tester

Test regular expressions against text with real-time match highlighting, capture groups, and flag toggles.. Kostenlos, ohne Anmeldung, funktioniert im Browser.

Über Regex Tester

This regex tester lets you test regular expressions against any text in real time. Enter a pattern, toggle flags (global, case-insensitive, multiline, dot-all), and see matches highlighted instantly. Each match shows its position and capture groups. The tool uses JavaScript's native RegExp engine, so patterns you test here will work in any JavaScript environment. Useful for building extraction patterns, validating input formats, debugging regex in code, and learning regular expressions.

Häufig gestellte Fragen

Which regex engine does this use?
This tool uses JavaScript's native RegExp engine. Patterns you test here are directly compatible with JavaScript, Node.js, and TypeScript. Most basic patterns also work in Python, PHP, Java, and other languages.
What do the flags mean?
g (global) finds all matches instead of stopping at the first. i (case-insensitive) ignores case differences. m (multiline) makes ^ and $ match line boundaries. s (dotAll) makes the dot (.) match newline characters.
How do capture groups work?
Parentheses () in your pattern create capture groups. Each group captures the text it matches. For example, (\w+)@(\w+) captures the username and domain separately from an email-like string. Groups are numbered starting at 1.

Ähnliche Werkzeuge