BetaDEVAE is in beta — things may break.
Free tool · runs in your browser

Regex Tester

Type a pattern and test string to see matches highlighted, with capture groups and named groups listed as you type.

//g

2 matches

Contact maya@devae.co or jordan.lee@example.org for the room link.
#indexmatchgroups
18maya@devae.co
user=maya
host=devae.co
225jordan.lee@example.org
user=jordan.lee
host=example.org

How it works

The pattern is compiled with the JavaScript RegExp constructor using the flags you toggle (g, i, m, s, u, y).

Matches are computed with matchAll and highlighted inline in the test string.

Each match lists its index and capture groups, including named groups.

Invalid patterns show the engine's error message instead of crashing.

Save snippets like this to your DEVAE profile and share them with collaborators. Free for individuals.

Sign up free

Frequently asked questions

JavaScript (ECMAScript), as implemented by your browser. Most patterns are portable, but lookbehind and some Unicode features differ from PCRE or Python.

Enable the g (global) flag. Without it, the engine stops after the first match.

Yes. Use the m flag so ^ and $ match at line boundaries, and s so . matches newlines.

No. Everything runs in your browser.

Build with other developers

Sign up freeTakes about 30 seconds. Free for individuals, forever.