Regex Tester

Test regular expressions with live match highlighting.

Works Offline
Privacy First
No Login
No API

Common patterns

Click to load into the pattern field

Test string

Capped at 20,000 characters to avoid catastrophic backtracking.

Highlighted matches

Contact: ada@example.com, alan@test.com
Matches
2

Capture groups

#MatchIndexGroups
1ada@example.com9ada, example
2alan@test.com26alan, test

Replace preview

About the Regex Tester

Write and test regular expressions with live highlighted matches, a capture group table, a replace preview, and a cheatsheet of common patterns. Input length is capped to avoid catastrophic backtracking.

Examples

Email match

(\w+)@(\w+)\.com

Output

Matches ada@example.com

Related tools

Frequently asked questions

Read more

Version 1.0.0 · Updated 2026-08-06 · Runs entirely in your browser