Test, debug and understand your regex with match highlighting, groups and token-by-token explanation.
calc.rxErrorcalc.rxError
calc.rxMatches0
calc.rxGroups0
calc.rxTime0ms
calc.rxMatchesFound
calc.rxExplanation
Publicidad / Advertisement
ℹ️ This tool is for informational purposes only. It does not replace professional advice.
The regular expression tester lets you write a regex pattern, choose flags (g, i, m, s, u, y) and test it against text in real time. It shows all matches with their capture groups, indices and execution times. Includes common presets (email, URL, IPv4, DNI, IBAN, hex color) and an explainer that breaks down the pattern token by token. Highlights matches directly in the test text. Use it as many times as you need: it is completely free, requires no sign-up and works directly in your browser.
Frequently asked questions
¿Qué flags están disponibles?
g (global), i (insensible a mayúsculas), m (multilínea), s (dotAll), u (unicode), y (sticky). Se pueden combinar.
¿Cómo funciona el explicador?
Analiza el patrón carácter a carácter e identifica escapes, clases de caracteres, grupos, cuantificadores, anclas y alternancias, dando una descripción en lenguaje natural de cada parte.
¿El regex se evalúa en mi navegador?
Sí. Se usa el motor RegExp nativo de JavaScript. El rendimiento y comportamiento son los mismos que en tu código.
What flags are available?
g (global), i (case insensitive), m (multiline), s (dotAll), u (unicode), y (sticky). They can be combined.
How does the explainer work?
It analyzes the pattern character by character and identifies escapes, character classes, groups, quantifiers, anchors and alternations, giving a natural language description of each part.
Is the regex evaluated in my browser?
Yes. The native JavaScript RegExp engine is used. Performance and behavior are the same as in your code.