Text & Data
Regex Builder & Tester
Build, test and debug regular expressions with live match highlighting, capture groups and a find-and-replace preview — everything runs in your browser.
Regular Expression
0 matches
Test String
146 chars
Find & Replace
Results
No matches in the test string.
Common Patterns
Each preset loads a matching sample so you can see it work immediately.
Flavor & Code
const re = /\b(\w+)@(\w+)\.(\w{2,})\b/g;
const matches = [...text.matchAll(re)];