Regex Tester
Test regular expressions with live match highlighting and capture groups, plus built-in examples.
Loading tool…
This tool runs locally in your browser — your content is never uploaded to a server.
How to use
- 1.Enter your pattern and toggle flags like g, i, m, s, u with the flag buttons.
- 2.Paste test text below — matches are highlighted live.
- 3.Inspect each match’s position and capture groups; click “Examples” to load common regexes for email, phone, URL and more.
- 4.When satisfied, click “Copy matches” to save, or “Clear” to test again.
FAQ
Related tools
JSON Formatter
Paste JSON to beautify or minify it instantly; invalid JSON reports the exact error location.
Case Converter
Convert variable names between camelCase, snake_case, kebab-case and more — batch friendly.
CSV ⇄ JSON
Convert CSV to a JSON object array or export a JSON array as standard CSV — live both ways.
JWT Decoder
Paste a JWT to decode its header and payload, with exp/iat converted to readable dates.
