Test JavaScript regular expressions with live match highlighting. This free tool by electronmagazine.com runs entirely in your browser — no sign-up, no uploads, no tracking of your input.

How to use

  1. Enter a regular expression pattern.
  2. Set flags such as g, i or m.
  3. Type test text and watch matches highlight live.
  4. Review the match count and capture groups.

FAQ

Which regex flavor is used?

JavaScript (ECMAScript) regular expressions.

Why do I only see one match?

Add the g flag to find all matches.

Are lookbehinds supported?

Yes, in all modern browsers.

Powered by electronmagazine.com