Testador de Regex Online

Free Grátis · Sem cadastro · Dados não enviados Real-time · Group capture · Flags
/
/
Enter a pattern above and test string below

Mais Ferramentas para Desenvolvedores

Cron
Criar cron
URL Encoder
Codificar URL
Timestamp
Unix ↔ Data
Formatador CSS
Formatar & minificar
Formatador HTML
Formatar & embelezar
Formatador SQL
Formatar SQL
Base64
Codificar/Decodificar
Formatador JSON
Formatar & validar

Por Que Este é o Melhor Testador de Regex Online

Destaque de Correspondência ao Vivo

Matches are highlighted in real-time as you type your regex pattern. See exactly what your expression captures.

Grupos de Captura

View all capture groups and their matched values displayed clearly below the test string.

Todas as Flags Suportadas

Toggle g (global), i (case-insensitive), m (multiline), and s (dotall) flags with one click.

Detalhes da Correspondência

See the exact index position and length of each match for precise debugging.

Perguntas Frequentes

What regex flavor does this tester use?

This tester uses JavaScript's built-in RegExp engine, which is the standard for web development and Node.js applications.

How do I test a regex for email validation?

Enter your email regex pattern like /^[\w.-]+@[\w.-]+\.[a-z]{2,}$/i in the pattern field, then type a test email in the test string area to see live matching.

Why does my regex not match across lines?

By default, . does not match newlines. Enable the s (dotall) flag to make . match any character including newlines, or use m (multiline) to make ^ and $ match line boundaries.

Guia detalhado
Guia Ferramentas Essenciais
Regex, Cron, Timestamp, URL & mais
Ler o guia