Web & SEO Tools  ›

Regex Tester

Test JavaScript regular expressions live. Toggle flags, see all matches, and inspect capture groups.

Private - runs in your browser No signup required Free forever

How to use Regex Tester

  1. Type your pattern.
  2. Add flags (g, i, m, s, u).
  3. Paste your test string.
  4. Matches highlight as you type.

Features

  • Live highlighting
  • Group inspection
  • All standard JS flags

Why use it

  • Build correct patterns faster
  • Validate input rules
  • Quick syntax checks

Frequently asked questions

Which flavour of regex?

JavaScript (ECMAScript). It differs slightly from PCRE - for example look-behind support varies.