Browser-onlyLiveDeveloper Tools

Regex Tester

Test a regular expression against text and see matches and capture groups.

Privacy note. Runs in your browser. Your pattern and test text are only used to compute the matches shown on this page.
Flags
2 matches
Matches highlighted in the test string
Contact: ada@example.com or linus@kernel.org
  1. Match 1: ada@example.comGroup 1: ada, Group 2: example.com
  2. Match 2: linus@kernel.orgGroup 1: linus, Group 2: kernel.org

Recommended next steps

Related tools

Frequently asked questions

JavaScript regular expressions, exactly as the RegExp constructor interprets them in your browser. The flags g, i, m, s, u and y are all supported.

Last updated 2026-06-20.