Thème
Guides À Propos Contact PixelPing.net (Image & PDF Tools) ↗

Testeur de Regex

Testez et déboguez des expressions régulières avec surlignage dynamique.

/ /

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.

À propos de cet outil: Testeur de Regex

Testez et déboguez des expressions régulières avec surlignage dynamique.

Cet utilitaire de diagnostic en ligne est propulsé par ToolPing pour fournir des analyses réseau rapides, fiables et sécurisées.

Foire Aux Questions (FAQ)

Comment tester des Expressions Régulières (Regex) ?

Saisissez votre motif regex et vos modificateurs (comme g ou i) dans la barre supérieure, et tapez votre texte de test. Les correspondances sont surlignées en direct.