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.
2 matches
Matches highlighted in the test string
Contact: ada@example.com or linus@kernel.org
- Match 1: ada@example.com — Group 1: ada, Group 2: example.com
- Match 2: linus@kernel.org — Group 1: linus, Group 2: kernel.org
Recommended next steps
Related tools
Live
Base64 Encoder / Decoder
Encode or decode text to and from base64, with a URL-safe variant.
Developer ToolsBrowser-only
Open tool →
Live
Case Converter
Convert text between camelCase, snake_case, kebab-case, Title Case, and more.
Developer ToolsBrowser-only
Open tool →
Live
Text Diff Checker
Compare two blocks of text and see added and removed lines side by side.
Developer ToolsBrowser-only
Open tool →
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.
Every match is highlighted in place in your test string. Below, each match is listed with its position and the text captured by each parenthesised group.
No. Matching runs entirely in your browser; your pattern and test text are only used to compute the results shown on this page.
Last updated 2026-06-20.