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.
Sobre o 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.
Como usar o Regex Tester
- Enter your regular expression without surrounding slashes.
- Toggle the flags you need.
- Paste sample text — matches highlight instantly.
- Study the group table to refine your pattern.
Principais recursos
- Live highlighted matches as you edit the pattern
- Capture group table with matched text
- Case-insensitive, global, multiline and dotall flags
- Inline cheat sheet of common tokens
Which regex flavour does this tester use?
Why does my pattern match nothing in "global" mode?
Ferramentas de Ferramentas para desenvolvedores relacionadas
Mais utilitários da mesma categoria.
JSON Formatter
Beautify, validate and minify JSON with precise error locations.
Base64 Encoder / Decoder
Encode or decode Base64 safely, including emoji and non-Latin text.
URL Encoder / Decoder
Percent-encode or decode URLs and query-string values.
HTML Entity Converter
Escape or unescape HTML entities — keep code visible and safe.
Hash Generator
Create MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes instantly.
UUID Generator
Bulk-generate random UUID v4 identifiers with one click.