Regex Tester & Explainer
Write, test, and understand regular expressions in real time. Paste your test string and see every match highlighted instantly. The built-in Explainer breaks down each part of your pattern into plain English — so you can understand what the regex actually does. Includes a library of 10+ common patterns. Everything runs in your browser.
Seus arquivos nunca saem do seu dispositivo. Processados localmente. 100% privado.
Unlocking Tool Engine...
Como usar Regex Tester & Explainer
Conclua sua tarefa perfeitamente em apenas três etapas simples.
Enter Your Pattern
Type a regex in the pattern box or pick one from the pattern library.
Set Flags
Toggle global (g), case-insensitive (i), multiline (m), or dotAll (s) flags.
Read the Explainer
The Explainer panel breaks each part of your regex into plain English, color-coded by type.
Perguntas Frequentes
Tudo o que você precisa saber sobre o Regex Tester & Explainer.
What is a regex?
A Regular Expression (regex) is a sequence of characters that defines a search pattern. It's used to find, match, extract, or replace text based on rules rather than fixed strings.
What does the 'g' flag do?
The 'g' (global) flag finds ALL matches in the string. Without it, the engine stops after the first match.
What's the difference between greedy and lazy quantifiers?
Greedy quantifiers (*, +) match as MUCH as possible. Lazy quantifiers (*?, +?) match as LITTLE as possible. For example, '<.+>' on '<b>text</b>' matches the entire thing greedily, but '<.+?>' matches just '<b>'.
Ferramentas Relacionadas
Continue working with our suite of free data utilities.
Avaliador de Fórmulas
NEWExecute fórmulas do Excel no seu CSV sem abrir o Excel.
Renomeador em Lote
NEWRenomeie centenas de arquivos instantaneamente usando regras.
Gerador de QR Code
NEWGere milhares de códigos QR a partir de um CSV em segundos.
Gerador de Fatura GST
NEWGere faturas conformes com o GST a partir de dados CSV. Exporte como PDF ou Excel.
PDF para Excel
NEWExtrair tabelas de um PDF e exportá-las para Excel.
XML para CSV
NEWConverta arquivos XML para CSV. Elementos repetitivos são automaticamente detectados como linhas.