Cheatsheet Regex
Référentiel des tokens regex PCRE (caractères, quantificateurs, ancres, classes, groupes, flags) avec testeur live intégré : tape ton pattern et ton texte, vois les matches en surbrillance en temps réel.
Testeur regex live 100% navigateur
Tape ton pattern et ton texte. Les matches sont mis en surbrillance en temps réel. Compatible avec la syntaxe regex JavaScript (similaire à PCRE).
/
/
Tape un pattern pour commencer.
Surbrillance
Liste des matches
Cheatsheet des tokens
| Token | Description | Exemple |
|---|---|---|
| . | N'importe quel caractère sauf newline (sauf si /s) | .at matches cat, bat, hat |
| . | N'importe quel caractère sauf newline (sauf si /s) | .at matches cat, bat, hat |
| . | N'importe quel caractère sauf newline (sauf si /s) | .at matches cat, bat, hat |
| . | N'importe quel caractère sauf newline (sauf si /s) | .at matches cat, bat, hat |
| . | N'importe quel caractère sauf newline (sauf si /s) | .at matches cat, bat, hat |
| . | N'importe quel caractère sauf newline (sauf si /s) | .at matches cat, bat, hat |
| . | N'importe quel caractère sauf newline (sauf si /s) | .at matches cat, bat, hat |
| . | N'importe quel caractère sauf newline (sauf si /s) | .at matches cat, bat, hat |
| . | N'importe quel caractère sauf newline (sauf si /s) | .at matches cat, bat, hat |
| . | N'importe quel caractère sauf newline (sauf si /s) | .at matches cat, bat, hat |
| . | N'importe quel caractère sauf newline (sauf si /s) | .at matches cat, bat, hat |
| \d | Un chiffre [0-9] | \d{3} matches 123 |
| \d | Un chiffre [0-9] | \d{3} matches 123 |
| \d | Un chiffre [0-9] | \d{3} matches 123 |
| \d | Un chiffre [0-9] | \d{3} matches 123 |
| \d | Un chiffre [0-9] | \d{3} matches 123 |
| \d | Un chiffre [0-9] | \d{3} matches 123 |
| \d | Un chiffre [0-9] | \d{3} matches 123 |
| \d | Un chiffre [0-9] | \d{3} matches 123 |
| \d | Un chiffre [0-9] | \d{3} matches 123 |
| \d | Un chiffre [0-9] | \d{3} matches 123 |
| \d | Un chiffre [0-9] | \d{3} matches 123 |
| \D | Un non-chiffre | \D matches a, b, ! |
| \D | Un non-chiffre | \D matches a, b, ! |
| \D | Un non-chiffre | \D matches a, b, ! |
| \D | Un non-chiffre | \D matches a, b, ! |
| \D | Un non-chiffre | \D matches a, b, ! |
| \D | Un non-chiffre | \D matches a, b, ! |
| \D | Un non-chiffre | \D matches a, b, ! |
| \D | Un non-chiffre | \D matches a, b, ! |
| \D | Un non-chiffre | \D matches a, b, ! |
| \D | Un non-chiffre | \D matches a, b, ! |
| \D | Un non-chiffre | \D matches a, b, ! |
| \w | Un caractère de mot [A-Za-z0-9_] | \w+ matches hello_42 |
| \w | Un caractère de mot [A-Za-z0-9_] | \w+ matches hello_42 |
| \w | Un caractère de mot [A-Za-z0-9_] | \w+ matches hello_42 |
| \w | Un caractère de mot [A-Za-z0-9_] | \w+ matches hello_42 |
| \w | Un caractère de mot [A-Za-z0-9_] | \w+ matches hello_42 |
| \w | Un caractère de mot [A-Za-z0-9_] | \w+ matches hello_42 |
| \w | Un caractère de mot [A-Za-z0-9_] | \w+ matches hello_42 |
| \w | Un caractère de mot [A-Za-z0-9_] | \w+ matches hello_42 |
| \w | Un caractère de mot [A-Za-z0-9_] | \w+ matches hello_42 |
| \w | Un caractère de mot [A-Za-z0-9_] | \w+ matches hello_42 |
| \w | Un caractère de mot [A-Za-z0-9_] | \w+ matches hello_42 |
| \W | Un caractère non-mot | \W matches space, !, # |
| \W | Un caractère non-mot | \W matches space, !, # |
| \W | Un caractère non-mot | \W matches space, !, # |
| \W | Un caractère non-mot | \W matches space, !, # |
| \W | Un caractère non-mot | \W matches space, !, # |
| \W | Un caractère non-mot | \W matches space, !, # |
| \W | Un caractère non-mot | \W matches space, !, # |
| \W | Un caractère non-mot | \W matches space, !, # |
| \W | Un caractère non-mot | \W matches space, !, # |
| \W | Un caractère non-mot | \W matches space, !, # |
| \W | Un caractère non-mot | \W matches space, !, # |
| \s | Un espace blanc (espace, tab, newline) | \s+ matches " " |
| \s | Un espace blanc (espace, tab, newline) | \s+ matches " " |
| \s | Un espace blanc (espace, tab, newline) | \s+ matches " " |
| \s | Un espace blanc (espace, tab, newline) | \s+ matches " " |
| \s | Un espace blanc (espace, tab, newline) | \s+ matches " " |
| \s | Un espace blanc (espace, tab, newline) | \s+ matches " " |
| \s | Un espace blanc (espace, tab, newline) | \s+ matches " " |
| \s | Un espace blanc (espace, tab, newline) | \s+ matches " " |
| \s | Un espace blanc (espace, tab, newline) | \s+ matches " " |
| \s | Un espace blanc (espace, tab, newline) | \s+ matches " " |
| \s | Un espace blanc (espace, tab, newline) | \s+ matches " " |
| \S | Un caractère non-blanc | \S+ matches a word |
| \S | Un caractère non-blanc | \S+ matches a word |
| \S | Un caractère non-blanc | \S+ matches a word |
| \S | Un caractère non-blanc | \S+ matches a word |
| \S | Un caractère non-blanc | \S+ matches a word |
| \S | Un caractère non-blanc | \S+ matches a word |
| \S | Un caractère non-blanc | \S+ matches a word |
| \S | Un caractère non-blanc | \S+ matches a word |
| \S | Un caractère non-blanc | \S+ matches a word |
| \S | Un caractère non-blanc | \S+ matches a word |
| \S | Un caractère non-blanc | \S+ matches a word |
| * | Zéro ou plus (greedy) | a*b matches b, ab, aaab |
| * | Zéro ou plus (greedy) | a*b matches b, ab, aaab |
| * | Zéro ou plus (greedy) | a*b matches b, ab, aaab |
| * | Zéro ou plus (greedy) | a*b matches b, ab, aaab |
| * | Zéro ou plus (greedy) | a*b matches b, ab, aaab |
| * | Zéro ou plus (greedy) | a*b matches b, ab, aaab |
| * | Zéro ou plus (greedy) | a*b matches b, ab, aaab |
| * | Zéro ou plus (greedy) | a*b matches b, ab, aaab |
| * | Zéro ou plus (greedy) | a*b matches b, ab, aaab |
| * | Zéro ou plus (greedy) | a*b matches b, ab, aaab |
| * | Zéro ou plus (greedy) | a*b matches b, ab, aaab |
| + | Un ou plus (greedy) | a+b matches ab, aab |
| + | Un ou plus (greedy) | a+b matches ab, aab |
| + | Un ou plus (greedy) | a+b matches ab, aab |
| + | Un ou plus (greedy) | a+b matches ab, aab |
| + | Un ou plus (greedy) | a+b matches ab, aab |
| + | Un ou plus (greedy) | a+b matches ab, aab |
| + | Un ou plus (greedy) | a+b matches ab, aab |
| + | Un ou plus (greedy) | a+b matches ab, aab |
| + | Un ou plus (greedy) | a+b matches ab, aab |
| + | Un ou plus (greedy) | a+b matches ab, aab |
| + | Un ou plus (greedy) | a+b matches ab, aab |
| ? | Zéro ou un (optionnel) | colou?r matches color, colour |
| ? | Zéro ou un (optionnel) | colou?r matches color, colour |
| ? | Zéro ou un (optionnel) | colou?r matches color, colour |
| ? | Zéro ou un (optionnel) | colou?r matches color, colour |
| ? | Zéro ou un (optionnel) | colou?r matches color, colour |
| ? | Zéro ou un (optionnel) | colou?r matches color, colour |
| ? | Zéro ou un (optionnel) | colou?r matches color, colour |
| ? | Zéro ou un (optionnel) | colou?r matches color, colour |
| ? | Zéro ou un (optionnel) | colou?r matches color, colour |
| ? | Zéro ou un (optionnel) | colou?r matches color, colour |
| ? | Zéro ou un (optionnel) | colou?r matches color, colour |
| {n} | Exactement n fois | \d{4} matches 2026 |
| {n} | Exactement n fois | \d{4} matches 2026 |
| {n} | Exactement n fois | \d{4} matches 2026 |
| {n} | Exactement n fois | \d{4} matches 2026 |
| {n} | Exactement n fois | \d{4} matches 2026 |
| {n} | Exactement n fois | \d{4} matches 2026 |
| {n} | Exactement n fois | \d{4} matches 2026 |
| {n} | Exactement n fois | \d{4} matches 2026 |
| {n} | Exactement n fois | \d{4} matches 2026 |
| {n} | Exactement n fois | \d{4} matches 2026 |
| {n} | Exactement n fois | \d{4} matches 2026 |
| {n,} | n fois ou plus | \d{2,} matches 12, 1234 |
| {n,} | n fois ou plus | \d{2,} matches 12, 1234 |
| {n,} | n fois ou plus | \d{2,} matches 12, 1234 |
| {n,} | n fois ou plus | \d{2,} matches 12, 1234 |
| {n,} | n fois ou plus | \d{2,} matches 12, 1234 |
| {n,} | n fois ou plus | \d{2,} matches 12, 1234 |
| {n,} | n fois ou plus | \d{2,} matches 12, 1234 |
| {n,} | n fois ou plus | \d{2,} matches 12, 1234 |
| {n,} | n fois ou plus | \d{2,} matches 12, 1234 |
| {n,} | n fois ou plus | \d{2,} matches 12, 1234 |
| {n,} | n fois ou plus | \d{2,} matches 12, 1234 |
| {n,m} | Entre n et m fois | \d{2,4} matches 12, 123, 1234 |
| {n,m} | Entre n et m fois | \d{2,4} matches 12, 123, 1234 |
| {n,m} | Entre n et m fois | \d{2,4} matches 12, 123, 1234 |
| {n,m} | Entre n et m fois | \d{2,4} matches 12, 123, 1234 |
| {n,m} | Entre n et m fois | \d{2,4} matches 12, 123, 1234 |
| {n,m} | Entre n et m fois | \d{2,4} matches 12, 123, 1234 |
| {n,m} | Entre n et m fois | \d{2,4} matches 12, 123, 1234 |
| {n,m} | Entre n et m fois | \d{2,4} matches 12, 123, 1234 |
| {n,m} | Entre n et m fois | \d{2,4} matches 12, 123, 1234 |
| {n,m} | Entre n et m fois | \d{2,4} matches 12, 123, 1234 |
| {n,m} | Entre n et m fois | \d{2,4} matches 12, 123, 1234 |
| *? | Zéro ou plus (lazy / non-greedy) | <.*?> for shortest tag |
| *? | Zéro ou plus (lazy / non-greedy) | <.*?> for shortest tag |
| *? | Zéro ou plus (lazy / non-greedy) | <.*?> for shortest tag |
| *? | Zéro ou plus (lazy / non-greedy) | <.*?> for shortest tag |
| *? | Zéro ou plus (lazy / non-greedy) | <.*?> for shortest tag |
| *? | Zéro ou plus (lazy / non-greedy) | <.*?> for shortest tag |
| *? | Zéro ou plus (lazy / non-greedy) | <.*?> for shortest tag |
| *? | Zéro ou plus (lazy / non-greedy) | <.*?> for shortest tag |
| *? | Zéro ou plus (lazy / non-greedy) | <.*?> for shortest tag |
| *? | Zéro ou plus (lazy / non-greedy) | <.*?> for shortest tag |
| *? | Zéro ou plus (lazy / non-greedy) | <.*?> for shortest tag |
| +? | Un ou plus (lazy) | \d+? takes one digit |
| +? | Un ou plus (lazy) | \d+? takes one digit |
| +? | Un ou plus (lazy) | \d+? takes one digit |
| +? | Un ou plus (lazy) | \d+? takes one digit |
| +? | Un ou plus (lazy) | \d+? takes one digit |
| +? | Un ou plus (lazy) | \d+? takes one digit |
| +? | Un ou plus (lazy) | \d+? takes one digit |
| +? | Un ou plus (lazy) | \d+? takes one digit |
| +? | Un ou plus (lazy) | \d+? takes one digit |
| +? | Un ou plus (lazy) | \d+? takes one digit |
| +? | Un ou plus (lazy) | \d+? takes one digit |
| ^ | Début de ligne (ou de chaîne sans /m) | ^abc matches "abc..." |
| ^ | Début de ligne (ou de chaîne sans /m) | ^abc matches "abc..." |
| ^ | Début de ligne (ou de chaîne sans /m) | ^abc matches "abc..." |
| ^ | Début de ligne (ou de chaîne sans /m) | ^abc matches "abc..." |
| ^ | Début de ligne (ou de chaîne sans /m) | ^abc matches "abc..." |
| ^ | Début de ligne (ou de chaîne sans /m) | ^abc matches "abc..." |
| ^ | Début de ligne (ou de chaîne sans /m) | ^abc matches "abc..." |
| ^ | Début de ligne (ou de chaîne sans /m) | ^abc matches "abc..." |
| ^ | Début de ligne (ou de chaîne sans /m) | ^abc matches "abc..." |
| ^ | Début de ligne (ou de chaîne sans /m) | ^abc matches "abc..." |
| ^ | Début de ligne (ou de chaîne sans /m) | ^abc matches "abc..." |
| $ | Fin de ligne (ou de chaîne sans /m) | abc$ matches "...abc" |
| $ | Fin de ligne (ou de chaîne sans /m) | abc$ matches "...abc" |
| $ | Fin de ligne (ou de chaîne sans /m) | abc$ matches "...abc" |
| $ | Fin de ligne (ou de chaîne sans /m) | abc$ matches "...abc" |
| $ | Fin de ligne (ou de chaîne sans /m) | abc$ matches "...abc" |
| $ | Fin de ligne (ou de chaîne sans /m) | abc$ matches "...abc" |
| $ | Fin de ligne (ou de chaîne sans /m) | abc$ matches "...abc" |
| $ | Fin de ligne (ou de chaîne sans /m) | abc$ matches "...abc" |
| $ | Fin de ligne (ou de chaîne sans /m) | abc$ matches "...abc" |
| $ | Fin de ligne (ou de chaîne sans /m) | abc$ matches "...abc" |
| $ | Fin de ligne (ou de chaîne sans /m) | abc$ matches "...abc" |
| \b | Frontière de mot | \bcat\b matches "cat" not "category" |
| \b | Frontière de mot | \bcat\b matches "cat" not "category" |
| \b | Frontière de mot | \bcat\b matches "cat" not "category" |
| \b | Frontière de mot | \bcat\b matches "cat" not "category" |
| \b | Frontière de mot | \bcat\b matches "cat" not "category" |
| \b | Frontière de mot | \bcat\b matches "cat" not "category" |
| \b | Frontière de mot | \bcat\b matches "cat" not "category" |
| \b | Frontière de mot | \bcat\b matches "cat" not "category" |
| \b | Frontière de mot | \bcat\b matches "cat" not "category" |
| \b | Frontière de mot | \bcat\b matches "cat" not "category" |
| \b | Frontière de mot | \bcat\b matches "cat" not "category" |
| \B | Pas une frontière de mot | \Bing matches "ring" not "ing" |
| \B | Pas une frontière de mot | \Bing matches "ring" not "ing" |
| \B | Pas une frontière de mot | \Bing matches "ring" not "ing" |
| \B | Pas une frontière de mot | \Bing matches "ring" not "ing" |
| \B | Pas une frontière de mot | \Bing matches "ring" not "ing" |
| \B | Pas une frontière de mot | \Bing matches "ring" not "ing" |
| \B | Pas une frontière de mot | \Bing matches "ring" not "ing" |
| \B | Pas une frontière de mot | \Bing matches "ring" not "ing" |
| \B | Pas une frontière de mot | \Bing matches "ring" not "ing" |
| \B | Pas une frontière de mot | \Bing matches "ring" not "ing" |
| \B | Pas une frontière de mot | \Bing matches "ring" not "ing" |
| \A | Début absolu (ignore /m) | \Atext only at very start |
| \A | Début absolu (ignore /m) | \Atext only at very start |
| \A | Début absolu (ignore /m) | \Atext only at very start |
| \A | Début absolu (ignore /m) | \Atext only at very start |
| \A | Début absolu (ignore /m) | \Atext only at very start |
| \A | Début absolu (ignore /m) | \Atext only at very start |
| \A | Début absolu (ignore /m) | \Atext only at very start |
| \A | Début absolu (ignore /m) | \Atext only at very start |
| \A | Début absolu (ignore /m) | \Atext only at very start |
| \A | Début absolu (ignore /m) | \Atext only at very start |
| \A | Début absolu (ignore /m) | \Atext only at very start |
| \Z | Fin absolue avant newline final | text\Z |
| \Z | Fin absolue avant newline final | text\Z |
| \Z | Fin absolue avant newline final | text\Z |
| \Z | Fin absolue avant newline final | text\Z |
| \Z | Fin absolue avant newline final | text\Z |
| \Z | Fin absolue avant newline final | text\Z |
| \Z | Fin absolue avant newline final | text\Z |
| \Z | Fin absolue avant newline final | text\Z |
| \Z | Fin absolue avant newline final | text\Z |
| \Z | Fin absolue avant newline final | text\Z |
| \Z | Fin absolue avant newline final | text\Z |
| [abc] | Un caractère parmi a, b ou c | [aeiou] matches a vowel |
| [abc] | Un caractère parmi a, b ou c | [aeiou] matches a vowel |
| [abc] | Un caractère parmi a, b ou c | [aeiou] matches a vowel |
| [abc] | Un caractère parmi a, b ou c | [aeiou] matches a vowel |
| [abc] | Un caractère parmi a, b ou c | [aeiou] matches a vowel |
| [abc] | Un caractère parmi a, b ou c | [aeiou] matches a vowel |
| [abc] | Un caractère parmi a, b ou c | [aeiou] matches a vowel |
| [abc] | Un caractère parmi a, b ou c | [aeiou] matches a vowel |
| [abc] | Un caractère parmi a, b ou c | [aeiou] matches a vowel |
| [abc] | Un caractère parmi a, b ou c | [aeiou] matches a vowel |
| [abc] | Un caractère parmi a, b ou c | [aeiou] matches a vowel |
| [^abc] | Un caractère AUTRE que a, b ou c | [^0-9] matches non-digit |
| [^abc] | Un caractère AUTRE que a, b ou c | [^0-9] matches non-digit |
| [^abc] | Un caractère AUTRE que a, b ou c | [^0-9] matches non-digit |
| [^abc] | Un caractère AUTRE que a, b ou c | [^0-9] matches non-digit |
| [^abc] | Un caractère AUTRE que a, b ou c | [^0-9] matches non-digit |
| [^abc] | Un caractère AUTRE que a, b ou c | [^0-9] matches non-digit |
| [^abc] | Un caractère AUTRE que a, b ou c | [^0-9] matches non-digit |
| [^abc] | Un caractère AUTRE que a, b ou c | [^0-9] matches non-digit |
| [^abc] | Un caractère AUTRE que a, b ou c | [^0-9] matches non-digit |
| [^abc] | Un caractère AUTRE que a, b ou c | [^0-9] matches non-digit |
| [^abc] | Un caractère AUTRE que a, b ou c | [^0-9] matches non-digit |
| [a-z] | Un caractère dans la plage (minuscule) | [a-z]+ matches a word |
| [a-z] | Un caractère dans la plage (minuscule) | [a-z]+ matches a word |
| [a-z] | Un caractère dans la plage (minuscule) | [a-z]+ matches a word |
| [a-z] | Un caractère dans la plage (minuscule) | [a-z]+ matches a word |
| [a-z] | Un caractère dans la plage (minuscule) | [a-z]+ matches a word |
| [a-z] | Un caractère dans la plage (minuscule) | [a-z]+ matches a word |
| [a-z] | Un caractère dans la plage (minuscule) | [a-z]+ matches a word |
| [a-z] | Un caractère dans la plage (minuscule) | [a-z]+ matches a word |
| [a-z] | Un caractère dans la plage (minuscule) | [a-z]+ matches a word |
| [a-z] | Un caractère dans la plage (minuscule) | [a-z]+ matches a word |
| [a-z] | Un caractère dans la plage (minuscule) | [a-z]+ matches a word |
| [A-Za-z0-9] | Lettres et chiffres | [A-Za-z0-9]+ matches identifier |
| [A-Za-z0-9] | Lettres et chiffres | [A-Za-z0-9]+ matches identifier |
| [A-Za-z0-9] | Lettres et chiffres | [A-Za-z0-9]+ matches identifier |
| [A-Za-z0-9] | Lettres et chiffres | [A-Za-z0-9]+ matches identifier |
| [A-Za-z0-9] | Lettres et chiffres | [A-Za-z0-9]+ matches identifier |
| [A-Za-z0-9] | Lettres et chiffres | [A-Za-z0-9]+ matches identifier |
| [A-Za-z0-9] | Lettres et chiffres | [A-Za-z0-9]+ matches identifier |
| [A-Za-z0-9] | Lettres et chiffres | [A-Za-z0-9]+ matches identifier |
| [A-Za-z0-9] | Lettres et chiffres | [A-Za-z0-9]+ matches identifier |
| [A-Za-z0-9] | Lettres et chiffres | [A-Za-z0-9]+ matches identifier |
| [A-Za-z0-9] | Lettres et chiffres | [A-Za-z0-9]+ matches identifier |
| (...) | Groupe capturant (peut être référencé par $1) | (\d+)-(\d+) |
| (...) | Groupe capturant (peut être référencé par $1) | (\d+)-(\d+) |
| (...) | Groupe capturant (peut être référencé par $1) | (\d+)-(\d+) |
| (...) | Groupe capturant (peut être référencé par $1) | (\d+)-(\d+) |
| (...) | Groupe capturant (peut être référencé par $1) | (\d+)-(\d+) |
| (...) | Groupe capturant (peut être référencé par $1) | (\d+)-(\d+) |
| (...) | Groupe capturant (peut être référencé par $1) | (\d+)-(\d+) |
| (...) | Groupe capturant (peut être référencé par $1) | (\d+)-(\d+) |
| (...) | Groupe capturant (peut être référencé par $1) | (\d+)-(\d+) |
| (...) | Groupe capturant (peut être référencé par $1) | (\d+)-(\d+) |
| (...) | Groupe capturant (peut être référencé par $1) | (\d+)-(\d+) |
| (?:...) | Groupe NON-capturant (juste pour grouper) | (?:abc)+ matches "abcabc" |
| (?:...) | Groupe NON-capturant (juste pour grouper) | (?:abc)+ matches "abcabc" |
| (?:...) | Groupe NON-capturant (juste pour grouper) | (?:abc)+ matches "abcabc" |
| (?:...) | Groupe NON-capturant (juste pour grouper) | (?:abc)+ matches "abcabc" |
| (?:...) | Groupe NON-capturant (juste pour grouper) | (?:abc)+ matches "abcabc" |
| (?:...) | Groupe NON-capturant (juste pour grouper) | (?:abc)+ matches "abcabc" |
| (?:...) | Groupe NON-capturant (juste pour grouper) | (?:abc)+ matches "abcabc" |
| (?:...) | Groupe NON-capturant (juste pour grouper) | (?:abc)+ matches "abcabc" |
| (?:...) | Groupe NON-capturant (juste pour grouper) | (?:abc)+ matches "abcabc" |
| (?:...) | Groupe NON-capturant (juste pour grouper) | (?:abc)+ matches "abcabc" |
| (?:...) | Groupe NON-capturant (juste pour grouper) | (?:abc)+ matches "abcabc" |
| (?<name>...) | Groupe nommé (référence par $name ou \k<name>) | (?<year>\d{4}) |
| (?<name>...) | Groupe nommé (référence par $name ou \k<name>) | (?<year>\d{4}) |
| (?<name>...) | Groupe nommé (référence par $name ou \k<name>) | (?<year>\d{4}) |
| (?<name>...) | Groupe nommé (référence par $name ou \k<name>) | (?<year>\d{4}) |
| (?<name>...) | Groupe nommé (référence par $name ou \k<name>) | (?<year>\d{4}) |
| (?<name>...) | Groupe nommé (référence par $name ou \k<name>) | (?<year>\d{4}) |
| (?<name>...) | Groupe nommé (référence par $name ou \k<name>) | (?<year>\d{4}) |
| (?<name>...) | Groupe nommé (référence par $name ou \k<name>) | (?<year>\d{4}) |
| (?<name>...) | Groupe nommé (référence par $name ou \k<name>) | (?<year>\d{4}) |
| (?<name>...) | Groupe nommé (référence par $name ou \k<name>) | (?<year>\d{4}) |
| (?<name>...) | Groupe nommé (référence par $name ou \k<name>) | (?<year>\d{4}) |
| (?=...) | Lookahead positif (assertion) | foo(?=bar) only foo before bar |
| (?=...) | Lookahead positif (assertion) | foo(?=bar) only foo before bar |
| (?=...) | Lookahead positif (assertion) | foo(?=bar) only foo before bar |
| (?=...) | Lookahead positif (assertion) | foo(?=bar) only foo before bar |
| (?=...) | Lookahead positif (assertion) | foo(?=bar) only foo before bar |
| (?=...) | Lookahead positif (assertion) | foo(?=bar) only foo before bar |
| (?=...) | Lookahead positif (assertion) | foo(?=bar) only foo before bar |
| (?=...) | Lookahead positif (assertion) | foo(?=bar) only foo before bar |
| (?=...) | Lookahead positif (assertion) | foo(?=bar) only foo before bar |
| (?=...) | Lookahead positif (assertion) | foo(?=bar) only foo before bar |
| (?=...) | Lookahead positif (assertion) | foo(?=bar) only foo before bar |
| (?!...) | Lookahead négatif | foo(?!bar) foo NOT before bar |
| (?!...) | Lookahead négatif | foo(?!bar) foo NOT before bar |
| (?!...) | Lookahead négatif | foo(?!bar) foo NOT before bar |
| (?!...) | Lookahead négatif | foo(?!bar) foo NOT before bar |
| (?!...) | Lookahead négatif | foo(?!bar) foo NOT before bar |
| (?!...) | Lookahead négatif | foo(?!bar) foo NOT before bar |
| (?!...) | Lookahead négatif | foo(?!bar) foo NOT before bar |
| (?!...) | Lookahead négatif | foo(?!bar) foo NOT before bar |
| (?!...) | Lookahead négatif | foo(?!bar) foo NOT before bar |
| (?!...) | Lookahead négatif | foo(?!bar) foo NOT before bar |
| (?!...) | Lookahead négatif | foo(?!bar) foo NOT before bar |
| (?<=...) | Lookbehind positif | (?<=\$)\d+ digits after $ |
| (?<=...) | Lookbehind positif | (?<=\$)\d+ digits after $ |
| (?<=...) | Lookbehind positif | (?<=\$)\d+ digits after $ |
| (?<=...) | Lookbehind positif | (?<=\$)\d+ digits after $ |
| (?<=...) | Lookbehind positif | (?<=\$)\d+ digits after $ |
| (?<=...) | Lookbehind positif | (?<=\$)\d+ digits after $ |
| (?<=...) | Lookbehind positif | (?<=\$)\d+ digits after $ |
| (?<=...) | Lookbehind positif | (?<=\$)\d+ digits after $ |
| (?<=...) | Lookbehind positif | (?<=\$)\d+ digits after $ |
| (?<=...) | Lookbehind positif | (?<=\$)\d+ digits after $ |
| (?<=...) | Lookbehind positif | (?<=\$)\d+ digits after $ |
| (?<!...) | Lookbehind négatif | (?<!\$)\d+ digits NOT after $ |
| (?<!...) | Lookbehind négatif | (?<!\$)\d+ digits NOT after $ |
| (?<!...) | Lookbehind négatif | (?<!\$)\d+ digits NOT after $ |
| (?<!...) | Lookbehind négatif | (?<!\$)\d+ digits NOT after $ |
| (?<!...) | Lookbehind négatif | (?<!\$)\d+ digits NOT after $ |
| (?<!...) | Lookbehind négatif | (?<!\$)\d+ digits NOT after $ |
| (?<!...) | Lookbehind négatif | (?<!\$)\d+ digits NOT after $ |
| (?<!...) | Lookbehind négatif | (?<!\$)\d+ digits NOT after $ |
| (?<!...) | Lookbehind négatif | (?<!\$)\d+ digits NOT after $ |
| (?<!...) | Lookbehind négatif | (?<!\$)\d+ digits NOT after $ |
| (?<!...) | Lookbehind négatif | (?<!\$)\d+ digits NOT after $ |
| i | Insensible à la casse | /abc/i matches "ABC" |
| i | Insensible à la casse | /abc/i matches "ABC" |
| i | Insensible à la casse | /abc/i matches "ABC" |
| i | Insensible à la casse | /abc/i matches "ABC" |
| i | Insensible à la casse | /abc/i matches "ABC" |
| i | Insensible à la casse | /abc/i matches "ABC" |
| i | Insensible à la casse | /abc/i matches "ABC" |
| i | Insensible à la casse | /abc/i matches "ABC" |
| i | Insensible à la casse | /abc/i matches "ABC" |
| i | Insensible à la casse | /abc/i matches "ABC" |
| i | Insensible à la casse | /abc/i matches "ABC" |
| g | Global (toutes occurrences) | /foo/g matches all "foo" |
| g | Global (toutes occurrences) | /foo/g matches all "foo" |
| g | Global (toutes occurrences) | /foo/g matches all "foo" |
| g | Global (toutes occurrences) | /foo/g matches all "foo" |
| g | Global (toutes occurrences) | /foo/g matches all "foo" |
| g | Global (toutes occurrences) | /foo/g matches all "foo" |
| g | Global (toutes occurrences) | /foo/g matches all "foo" |
| g | Global (toutes occurrences) | /foo/g matches all "foo" |
| g | Global (toutes occurrences) | /foo/g matches all "foo" |
| g | Global (toutes occurrences) | /foo/g matches all "foo" |
| g | Global (toutes occurrences) | /foo/g matches all "foo" |
| m | Multiline : ^ et $ matchent par ligne | /^line/m |
| m | Multiline : ^ et $ matchent par ligne | /^line/m |
| m | Multiline : ^ et $ matchent par ligne | /^line/m |
| m | Multiline : ^ et $ matchent par ligne | /^line/m |
| m | Multiline : ^ et $ matchent par ligne | /^line/m |
| m | Multiline : ^ et $ matchent par ligne | /^line/m |
| m | Multiline : ^ et $ matchent par ligne | /^line/m |
| m | Multiline : ^ et $ matchent par ligne | /^line/m |
| m | Multiline : ^ et $ matchent par ligne | /^line/m |
| m | Multiline : ^ et $ matchent par ligne | /^line/m |
| m | Multiline : ^ et $ matchent par ligne | /^line/m |
| s | Dotall : . matche aussi le newline | /.+/s spans lines |
| s | Dotall : . matche aussi le newline | /.+/s spans lines |
| s | Dotall : . matche aussi le newline | /.+/s spans lines |
| s | Dotall : . matche aussi le newline | /.+/s spans lines |
| s | Dotall : . matche aussi le newline | /.+/s spans lines |
| s | Dotall : . matche aussi le newline | /.+/s spans lines |
| s | Dotall : . matche aussi le newline | /.+/s spans lines |
| s | Dotall : . matche aussi le newline | /.+/s spans lines |
| s | Dotall : . matche aussi le newline | /.+/s spans lines |
| s | Dotall : . matche aussi le newline | /.+/s spans lines |
| s | Dotall : . matche aussi le newline | /.+/s spans lines |
| x | Extended : ignore les espaces et permet les commentaires | PCRE multi-line regex |
| x | Extended : ignore les espaces et permet les commentaires | PCRE multi-line regex |
| x | Extended : ignore les espaces et permet les commentaires | PCRE multi-line regex |
| x | Extended : ignore les espaces et permet les commentaires | PCRE multi-line regex |
| x | Extended : ignore les espaces et permet les commentaires | PCRE multi-line regex |
| x | Extended : ignore les espaces et permet les commentaires | PCRE multi-line regex |
| x | Extended : ignore les espaces et permet les commentaires | PCRE multi-line regex |
| x | Extended : ignore les espaces et permet les commentaires | PCRE multi-line regex |
| x | Extended : ignore les espaces et permet les commentaires | PCRE multi-line regex |
| x | Extended : ignore les espaces et permet les commentaires | PCRE multi-line regex |
| x | Extended : ignore les espaces et permet les commentaires | PCRE multi-line regex |
| u | Unicode (PCRE/JavaScript) | /\p{L}/u matches any letter |
| u | Unicode (PCRE/JavaScript) | /\p{L}/u matches any letter |
| u | Unicode (PCRE/JavaScript) | /\p{L}/u matches any letter |
| u | Unicode (PCRE/JavaScript) | /\p{L}/u matches any letter |
| u | Unicode (PCRE/JavaScript) | /\p{L}/u matches any letter |
| u | Unicode (PCRE/JavaScript) | /\p{L}/u matches any letter |
| u | Unicode (PCRE/JavaScript) | /\p{L}/u matches any letter |
| u | Unicode (PCRE/JavaScript) | /\p{L}/u matches any letter |
| u | Unicode (PCRE/JavaScript) | /\p{L}/u matches any letter |
| u | Unicode (PCRE/JavaScript) | /\p{L}/u matches any letter |
| u | Unicode (PCRE/JavaScript) | /\p{L}/u matches any letter |