Regex Tester

Write a pattern, paste some text and see every match highlighted as you type, along with numbered and named capture groups.

Runs in your browser · nothing uploadedFree · no sign-up
Loading tool…

How to use the Regex Tester

  1. Enter the pattern and choose flags.
  2. Paste your test text.
  3. Inspect the highlighted matches and groups.

Features

  • Live highlighting
  • Numbered and named groups
  • All JavaScript flags, including d, s, u and v
  • Clear syntax errors

Frequently asked questions

Which regex flavour is this?

JavaScript (ECMAScript), as run by your browser. Most syntax matches PCRE, but there are differences, such as no possessive quantifiers.