DevToolsKit

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)

#MatchIndexCapture groups
1hello@devtoolskit.app81: hello2: devtoolskit.app
2support@example.org331: support2: example.org
Quick regex reference
  • \d digit · \w word · \s whitespace
  • [abc] class · [^abc] negated class
  • + one+ · * zero+ · ? optional
  • ^ start · $ end · \b word 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.

Related tools