Desenvolvimento

Testador de Regex

Teste expressões regulares com destaque de correspondências em tempo real

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).

Não achou o que precisa?

Criamos ferramentas grátis com base no feedback da comunidade. Sugira a utilidade que falta no seu fluxo!

Testador de Regex — Ferramenta Grátis Online | FreeTool24 | FreeTool24