Regex Match Visualizer
Visual regex testing with color-highlighted matches and capture groups.
Sobre esta ferramenta
Test regular expressions with instant visual feedback. Paste your pattern and test string to see every match highlighted in a distinct color. Capture groups are shown in contrasting shades within each match. A match details table lists position, value, and named or numbered groups for every hit. Toggle flags (g, i, m, s) with checkboxes. Switch to Replace mode to preview the result of String.replace. A Quick Reference panel provides common patterns (email, URL, phone, date, hex color, etc.) with a one-click 'Use' button. RegExp errors are displayed immediately with a clear message.
Como usar
- 1 Enter your regular expression in the pattern field.
- 2 Toggle flags as needed (g for global, i for case-insensitive, etc.).
- 3 Type or paste a test string — matches highlight instantly.
- 4 Review the match details table for positions and capture groups.
- 5 Enable Replace mode to preview substitution results.
- 6 Use the Quick Reference panel for common patterns.
Perguntas frequentes
Teste expressões regulares com destaque de correspondências em tempo real, grupos de captura e modo de substituição.
Gere padrões regex automaticamente a partir de strings de exemplo positivas e negativas.
Referência interativa de expressões regulares com teste de padrões ao vivo e destaque de correspondências.