Regex Tester

Test a regular expression against your text and see every match as you type.

Funziona nel tuo browserGratis · senza registrazione

Informazioni su Regex Tester

Type a pattern, pick the flags and paste the text you want to run it against. Matches are highlighted in the text itself and listed with their position and capture groups, so you can see exactly what the pattern caught and what it missed. Everything updates as you type, in your browser.

Questo strumento funziona nel tuo browser, quindi i tuoi file non lasciano mai il tuo dispositivo.

Come usare Regex Tester

  1. Type your regular expression.
  2. Choose the flags you need.
  3. Paste the text and read the matches.

Domande

Which flavour of regex is this?

JavaScript regular expressions, the same ones the browser itself uses. Patterns written for PCRE mostly work, but lookbehind and named groups depend on the browser.

Why does my pattern match nothing?

Check the flags first. Without the g flag only the first match is found, and without i the match is case sensitive.

Is my text sent anywhere?

No. The pattern runs in your browser and nothing leaves the page.

Strumenti correlati