Microdeck.tools 100 % dans le navigateur

Testeur Regex, Débogueur & Aide-Mémoire

New

Testez les expressions régulières JavaScript avec surlignage en direct, groupes de capture, aperçu du remplacement et explications détaillées.

100 % dans le navigateur Aucun envoi serveur Résultats instantanés
//g

Matches highlighted · 2 found

Order 2026-03-14: 3 items, total $45.50
Order 2026-04-02: 1 item, total $9.99
Contact: sales@example.com, support@example.org
#MatchPositionGroups
12026-03-146–16$1 = "2026" · $2 = "03" · $3 = "14" · year = "2026"
22026-04-0246–56$1 = "2026" · $2 = "04" · $3 = "02" · year = "2026"
Order 2026/03/14: 3 items, total $45.50
Order 2026/04/02: 1 item, total $9.99
Contact: sales@example.com, support@example.org

What the pattern means

  • (?<year> start of the capture group named year
  • \d a digit
  • {4} exactly 4 times
  • ) end of group
  • - the character -
  • ( start of a capture group
  • \d a digit
  • {2} exactly 2 times
  • ) end of group
  • - the character -
  • ( start of a capture group
  • \d a digit
  • {2} exactly 2 times
  • ) end of group
Cheat sheet
\d \w \sdigit, word character, whitespace\d{3}-\d{4}
. [abc] [^abc]any character, one of, none of[A-Z][a-z]+
* + ? {n,m}repeat counts (add ? for lazy)a{2,4}?
^ $ \bstart, end, word boundary\bcat\b
(…) (?:…) (?<n>…)capture, non-capture, named group(?<year>\d{4})
(?=…) (?!…) (?<=…) (?<!…)lookahead and lookbehind(?<=\$)\d+
\1 \k<n>repeat a captured group(\w)\1
$1 $<n> $&use in the replacement text$<year>-$1

Uses your browser’s JavaScript regular expressions. Other languages (PCRE, Python, .NET) differ in lookbehind, named groups and flags. Patterns that backtrack heavily on long text can freeze a tab; the text is limited to 200,000 characters.

Cet outil vous a-t-il fait gagner du temps ? Aidez Microdeck à rester gratuit et maintenu. Facultatif · Dès $3.

Fonctionnement technique

Type a pattern, switch flags on and off and paste test text. Matches are highlighted and listed with their groups.

Mode d’emploi étape par étape

1

Type the pattern.

2

Paste test text.

3

Read matches, groups and the explanation.

Fonctionnalités & performances

  • Live highlighting
  • Capture and named groups
  • Replace preview
  • Token explanation
  • Cheat sheet

Méthodologie, formules & standards

The pattern runs with the JavaScript RegExp engine of your browser, with a limit of 1,000 matches and 200,000 characters.

Exemples concrets & cas limites

(?<year>\d{4})-(\d{2})

Entrée
Match
Sortie
2026-03 with year = 2026

Limites & notes de précision

  • • JavaScript syntax only; PCRE, Python and .NET differ.
  • • Heavy backtracking on long text can slow the tab.

Traitement local dans le navigateur & confidentialité

Les convertisseurs classiques envoient vos documents, extraits ou médias sur des serveurs distants. Testeur Regex, Débogueur & Aide-Mémoire s’exécute directement dans votre onglet :

Traité dans cet onglet

Vos textes et fichiers sont traités localement sans aucun envoi vers un serveur de calcul.

Aucune journalisation des données

Microdeck n’enregistre ni ne stocke les fichiers ou données collés dans les outils.

Mémoire éphémère de l’onglet

Les résultats restent dans la mémoire de votre onglet et sont libérés dès que vous le fermez.

Questions fréquentes (FAQ)

Why does my pattern work here but not in Python?

Flags, lookbehind support and named group syntax differ between engines.

Is anything uploaded?

No. Everything runs in your browser and your data stays on your device.

Outils associés à découvrir

Soutenir Microdeck

Entièrement facultatif · Dès $3 · Sans compte

Choisir un montant (USD) :Sélectionné :$5

Le montant minimum est de $3 USD.

100 % facultatif · Dès $3 · Paiement sécurisé via Gumroad.