Antisèche Regex et bac à sable de test en direct
Outils DéveloppeurGuide mémo complet sur les expressions régulières (RegEx) avec motifs courants et environnement de test interactif.
Testeur Regex en direct
Modèles Regex prêts et populaires
Email Address
Validates standard email formatting.
URL / Web Address
URLs starting with http/https protocols.
Adresse IPv4
Valid IPv4 addresses between 0.0.0.0 and 255.255.255.255.
Hex Color Code
3 or 6 digit hex color codes like #FFF or #FFFFFF.
URL Slug Format
SEO-friendly slug with lowercase letters, digits, and hyphens.
Strong Password
Min 8 chars: 1 uppercase, 1 lowercase, 1 digit, and 1 special char.
| Jeton (Token) | Description | Exemple | Copier |
|---|---|---|---|
| . | Any single character except newline | a.c -> abc, a1c | |
| \d | Any digit [0-9] | \d+ -> 42, 1984 | |
| \D | Any non-digit character | \D+ -> hello | |
| \w | Word character (alphanumeric + underscore) | \w+ -> user_12 | |
| \W | Non-word character | \W -> @, #, ! | |
| \s | Whitespace character | \s+ -> " " | |
| \S | Non-whitespace character | \S+ -> word | |
| \t | Tab character | \t | |
| \n | Newline character | \n | |
| [abc] | Any character enclosed in brackets | [aeiou] -> sesli harfler | |
| [^abc] | Any character NOT enclosed in brackets | [^0-9] -> rakam harici | |
| [a-z] | Character range lowercase a to z | [a-z]+ -> kod | |
| [A-Z] | Character range uppercase A to Z | [A-Z]+ -> TURK | |
| [0-9] | Digit range 0 to 9 | [0-9]{4} -> 2026 | |
| * | 0 or more matches | a* -> "", "a", "aaa" | |
| + | 1 or more matches | a+ -> "a", "aaa" | |
| ? | 0 or 1 match (optional) | colou?r -> color, colour | |
| {n} | Exactly n matches | \d{4} -> 2026 | |
| {n,} | At least n matches | \d{3,} -> 100, 10000 | |
| {n,m} | Between n and m matches | \d{2,4} -> 99, 9999 | |
| *? / +? | Lazy / non-greedy match | <.*?> -> ilk kapanışa kadar | |
| ^ | Start of string or line | ^https -> https ile başlayan | |
| $ | End of string or line | \.json$ -> .json ile biten | |
| \b | Word boundary | \bcat\b -> "cat" ("catch" değil) | |
| \B | Non-word boundary | \Bcat -> "scatter" | |
| (abc) | Capturing group | (\d{2})-(\d{2}) -> $1, $2 | |
| (?:abc) | Non-capturing group | (?:https?|ftp):// | |
| a|b | Alternation (OR operator) | kırmızı|mavi | |
| (?=abc) | Positive lookahead | \d+(?=px) -> 100 (100px içindeki) | |
| (?!abc) | Negative lookahead | \d+(?!px) -> px olmayan sayılar | |
| (?<=abc) | Positive lookbehind | (?<=\$)\d+ -> $ sonrasındaki rakam | |
| (?<!abc) | Negative lookbehind | (?<!\$)\d+ -> $ olmayan rakam |
Vous aimez ToolsApp ? Offrez-nous un café
ToolsApp s'exécute à 100% dans votre navigateur sans abonnements ni suivi de données. Nous pensons que les utilitaires essentiels doivent rester gratuits et accessibles à tous. Votre soutien nous aide à développer de nouveaux outils !
Comment Utiliser ?
Règles de recherche
Filtrez les jetons regex par catégorie ou terme de recherche.
Test en direct
Utilisez le testeur en direct en haut pour tester les modèles d'expression régulière par rapport à un exemple de texte.
Copier le motif
Copiez les règles de syntaxe ou les modèles courants directement dans votre presse-papiers.
Avis d'utilisateurs & Commentaires
Partagez votre expérience anonymement. Modéré automatiquement par l'IA.