Regex Tester
Test JavaScript regular expressions live. See every match, its position and capture groups. Runs in your browser.
2 matches
- [9] "alice@example.com"$1="alice"$2="example.com"
- [28] "bob@test.org"$1="bob"$2="test.org"
Test regular expressions live
Regular expressions describe text patterns for searching, validating and extracting. This tester shows every match, where it starts, and the contents of each capture group as you edit the pattern.
Which regex flavor does this use?+
JavaScript (ECMAScript) regular expressions, the same engine your browser and Node.js use.
What do the flags mean?+
g finds all matches, i ignores case, m makes ^ and $ match per line, s lets . match newlines, u enables Unicode, y is sticky.
Are my files uploaded anywhere?+
No. Testing happens entirely in your browser. Nothing is sent to a server, so your data stays on your device.