Tema
Guías Sobre Nosotros Contacto PixelPing.net (Image & PDF Tools) ↗

Probador de Regex

Prueba y depura expresiones regulares en tiempo real con resaltado de coincidencias.

/ /

Regular Expression (Regex) Quick Reference

Common regex tokens, character classes, anchors, and quantifiers used in Javascript, Python, and PCRE.

Token / Pattern Category Meaning & Example
\d / \DCharacter ClassMatches any digit (0-9) / non-digit.
\w / \WCharacter ClassMatches word character (a-z, A-Z, 0-9, _) / non-word.
\s / \SCharacter ClassMatches whitespace (spaces, tabs, newlines) / non-whitespace.
^ / $AnchorsMatches beginning of string / end of string.
+ / *QuantifiersMatches 1 or more times / matches 0 or more times.
?QuantifiersMatches 0 or 1 time (optional) / lazy modifier.
{n,m}QuantifiersMatches between n and m repetitions.
[a-z0-9]Character SetMatches any character inside the set.
[^0-9]Negated SetMatches any character NOT in the set.
(abc)Capture GroupGroups sub-pattern and captures matched text.
(?:abc)Non-Capture GroupGroups sub-pattern without capturing.

Acerca de esta herramienta: Probador de Regex

Prueba y depura expresiones regulares en tiempo real con resaltado de coincidencias.

Esta utilidad de diagnóstico en línea está impulsada por ToolPing para proporcionar análisis de red rápidos, fiables y seguros.

Preguntas Frecuentes (FAQ)

¿Cómo probar Expresiones Regulares (Regex)?

Introduce tu patrón regex y modificadores (como g o i) en la barra superior, y escribe tu texto de prueba. Las coincidencias se resaltan en vivo.