Regex Tester
Test a regular expression against text with live match highlighting and capture groups.
Highlighted
Build and test patterns live
Type a JavaScript regular expression and it runs against your test string as you type, highlighting every match. The flags are the standard JavaScript set: g find all, i case-insensitive, m multiline (^/$ match line boundaries), s dotall (. matches newlines), u unicode. Capture groups — numbered and named ((?<name>…)) — are listed for each match.
Notes
This uses your browser's own regex engine, so behaviour matches Node and front-end JavaScript exactly; other languages (PCRE, Python, Go) differ in some syntax. Everything runs locally — paste sensitive text without it leaving your device. Watch out for catastrophic backtracking: nested quantifiers like (a+)+ on long input can hang any engine, so keep patterns specific.
These calculators run entirely in your browser — nothing you type is sent anywhere. Results are estimates for planning; validate against your vendor's documentation before you buy or deploy.