Testeur de Regex en Ligne

Free Gratuit · Sans inscription · Données non envoyées Real-time · Group capture · Flags
/
/
Enter a pattern above and test string below

Plus d'Outils pour Développeurs

Cron
Créer cron
URL Encoder
Encodage URL
Timestamp
Unix ↔ Date
Formateur CSS
Formater & minifier
Formateur HTML
Formater & embellir
Formateur SQL
Formater SQL
Base64
Encoder/Décoder
Formateur JSON
Formater & valider

Pourquoi c'est le Meilleur Testeur de Regex en Ligne

Mise en Évidence des Correspondances en Direct

Matches are highlighted in real-time as you type your regex pattern. See exactly what your expression captures.

Groupes de Capture

View all capture groups and their matched values displayed clearly below the test string.

Tous les Drapeaux Supportés

Toggle g (global), i (case-insensitive), m (multiline), and s (dotall) flags with one click.

Détails des Correspondances

See the exact index position and length of each match for precise debugging.

Questions Fréquentes

What regex flavor does this tester use?

This tester uses JavaScript's built-in RegExp engine, which is the standard for web development and Node.js applications.

How do I test a regex for email validation?

Enter your email regex pattern like /^[\w.-]+@[\w.-]+\.[a-z]{2,}$/i in the pattern field, then type a test email in the test string area to see live matching.

Why does my regex not match across lines?

By default, . does not match newlines. Enable the s (dotall) flag to make . match any character including newlines, or use m (multiline) to make ^ and $ match line boundaries.

Guide approfondi
Guide Outils Essentiels
Regex, Cron, Timestamp, URL & plus
Lire le guide