Regex Tester
Test regular expressions against text. See matches and highlighted results live.
Pattern & test string
Examples:
Output
Matches (0)
Enter a pattern and test string to see matches.
Highlighted test string
Test string will appear here with matches highlighted.
O que é um testador de regex?
Um testador de regex permite testar expressões regulares em um texto. Regex são padrões para corresponder strings, validar entrada e extrair dados.
Digite um padrão e um texto de teste para ver na hora o que corresponde. A ferramenta roda no navegador; nenhum dado é enviado ao servidor.
Por que usar esta ferramenta?
Regex é difícil de depurar: pequenos erros mudam o resultado. Um testador em tempo real permite refinar padrões na hora. Serve para validar e-mails, analisar logs, extrair valores e buscar em texto estruturado.
Common regex examples
- Email validation
- Extracting numbers from text
- Matching URLs
- Removing whitespace
Como usar
Digite o padrão no campo Padrão e o texto de teste abaixo. Os resultados atualizam ao vivo. Ajuste os flags (