Desenvolvimento

Regex Tester

Testador Regex

Teste and debug regular expressions with real-time matching and highlighting. Validar patterns, test multiple strings, and understand regex behavior instantly.

Ferramenta de teste Regex

Sinalizadores Regex

Padrões Regex Rápidos

Sobre expressões regulares

Metacaracteres Comuns

^- Start of string/line
$- End of string/line
.- Any character (except newline)
*- Zero or more repetitions
+- One or more repetitions
?- Zero or one repetition

Classes de personagens

[abc]- Any character from set
[^abc]- Any character not in set
\d- Any digit [0-9]
\u- Word character [a-zA-Z0-9_]
\s- Whitespace character
\b- Word boundary

Sinalizadores Regex explicados

g (Global)

Find all matches, not just the first one

eu (sem distinção entre maiúsculas e minúsculas)

Ignore case when matching

m (multilinha)

Treat string as multiple lines

s (ponto tudo)

Allow . to match newline characters

você (Unicode)

Enable full Unicode support

e (pegajoso)

Match only from the lastIndex position

Apenas para fins educacionais. Consulte um profissional qualificado para aconselhamento financeiro ou médico.

Mais em DesenvolvimentoView all