Ulvixor

Search tools

Search all of Ulvixor's tools by name or keyword.

Regular Expression Tester

Write a regular expression, set its flags, and test it against text in real time. See every match, its capture groups, and visual highlighting directly on the text.

How it works

  1. Type your regular expression into the pattern field (without the delimiting slashes).
  2. Turn on the flags you need: g (global), i (case-insensitive), m (multiline), s, u, or y.
  3. Paste your test text into the corresponding panel.
  4. The tool runs the regular expression instantly and highlights every match directly on the text.
  5. Check the match table for each result's position and capture groups.

Use cases

  • Validate form patterns (emails, phone numbers, postal codes) before implementing them.
  • Debug complex regular expressions used in validation or text processing.
  • Extract specific data from text using capture groups.
  • Learn and experiment with regular expression syntax visually.

Common mistakes

  • Olvidar el flag 'g' y suponer que no hay más coincidencias en el texto.
    Sin 'g', el motor de JavaScript se detiene en la primera coincidencia. Activá el flag global para ver todas las ocurrencias.
  • Usar . esperando que también coincida con saltos de línea.
    Por defecto, el punto no coincide con \n. Activá el flag 's' (dotAll) si necesitás que también matchee saltos de línea.
  • Escribir un patrón demasiado 'codicioso' y obtener coincidencias más largas de lo esperado.
    Cambiá cuantificadores como * o + por su versión perezosa (*? o +?) para que el motor se detenga en la primera coincidencia posible.

Frequently asked questions

Alternatives

Sitios como regex101 ofrecen explicaciones token por token del patrón, útiles para aprender. Esta herramienta prioriza la prueba rápida contra tu propio texto, con resaltado visual y grupos de captura, sin salir de Ulvixor.