Home
Watchdroid
Mail Blackhole
Text Compare
Diff & Patch Generator
Regex Tester
Markdown Preview
HTML Preview
SQL Formatter
Case Converter
Text Line Tools
Word Counter
Token Counter
JavaScript Minifier
CSS Minifier
blackdroid.dev

Regex Tester

Test regular expressions online with live match highlighting, capture group details and full JavaScript flag support. Free regex debugger and playground.

//g

3 matches

Contact us at hello@blackdroid.dev or support@blackdroid.dev.
For press inquiries write to press@blackdroid.io — not a match, wrong TLD.
#MatchIndexGroups
1hello@blackdroid.dev14$1=hello$2=blackdroid.dev
2support@blackdroid.dev38$1=support$2=blackdroid.dev
3press@blackdroid.io91$1=press$2=blackdroid.io

Use this regex in code

const re = /\b(\w+)@(\w+\.\w+)\b/g;
const matches = [...text.matchAll(re)];
// each entry: m[0] = full match, m[1..n] = groups, m.groups?.name

About Regex Tester

Type a pattern, pick your flags and see every match highlighted live in your test string, including numbered capture groups for each match.

The tester uses the JavaScript RegExp engine and supports the g, i, m, s, u and y flags. Everything is evaluated locally in your browser.