Regex Tester
Send the invoice to hana@example.com by Friday. CC kenji.sato@workshop.jp and the office: info@chekkutooru.dev (not-an-email@, and neither is @this)
Everything runs in your browser with JavaScript’s own RegExp engine, so what matches here matches in your code.
How it works
仕組みRegular expressions are the workshop's sharpest and least forgiving tool. This tester runs your pattern against your text as you type, using the browser's own JavaScript engine, so what matches here matches in your code, byte for byte. Matches highlight in the text, capture groups (numbered and named) are unpacked per match, and the pattern itself is read back to you token by token in plain English.
Without the g (global) flag, JavaScript stops after the first match. Toggle g in the flag row to find them all, and add i if the case shouldn't matter.
Both group, but (…) also captures what it matched; you'll see it as $1, $2… in the match list. (?:…) groups without capturing, which keeps your numbering clean and is marginally faster.
If your code is JavaScript, yes: it's the same engine. Other languages share most syntax but differ at the edges: lookbehind support, named-group style, and character-class details vary across engines like PCRE, RE2, and Python's re.