Regex Tester
Test regex with live matches and groups.
//
Highlighted matches
Contact hello@devtoolskit.app or support@example.org — never share passwords by email.
2 matches (global)
| # | Match | Index | Capture groups |
|---|---|---|---|
| 1 | hello@devtoolskit.app | 8 | 1: hello2: devtoolskit.app |
| 2 | support@example.org | 33 | 1: support2: example.org |
Quick regex reference
\ddigit ·\wword ·\swhitespace[abc]class ·[^abc]negated class+one+ ·*zero+ ·?optional^start ·$end ·\bword boundary(x)capture ·(?:x)non-capture ·(?<name>x)named{n,m}between ·x(?=y)lookahead ·x(?!y)negative
About this tool
Test a JavaScript regular expression against any text, see every match highlighted, and inspect named and numbered capture groups — with flags and a cheat sheet at your fingertips.
It runs completely in your browser — no input is sent anywhere, and this page loads no ads or third-party scripts, so it is safe to use with data you would not paste into a hosted service.