.* Regex Tester
Test and debug regular expressions live with real-time match highlighting. Supports flags, capture groups, and named groups. Free online regex tester — no signup needed.
How to Use
Enter a pattern
Type your regular expression in the pattern field. Use the checkboxes to enable flags: g (global), i (ignore case), m (multiline), s (dotAll).
Add your test string
Paste or type the string you want to test in the Test String area. All matches are highlighted live as you type.
Inspect matches
See the total match count, each match with its position, and any capture groups. Copy the verified pattern to use in your project.
Frequently Asked Questions
Guía: Probador de Expresiones Regulares
¿Qué es?
Las expresiones regulares (regex) describen patrones de texto para búsqueda, validación y transformación. Esenciales para validar formularios, analizar logs, y transformaciones en pipelines de datos.
Soportan: grupos de captura, lookaheads, lookbehinds, backreferences y flags g, i, m.
Cómo usar
- Escribe el patrón en el campo superior (sin delimitadores).
- Selecciona los flags: g (global), i (insensible), m (multilínea).
- Ingresa el texto de prueba — las coincidencias se resaltan en tiempo real.
- Revisa los grupos de captura en el panel de resultados.
Consejos
- Usa
(?:...)para grupos de no-captura cuando no necesites referenciarlos. - El flag
gencuentra todas las coincidencias; sin él, solo la primera. - Para validar emails, usa una librería — las regex de email completas son extremadamente complejas.