BrowserTools
live — local

Regex Tester

Matches update as you type. Everything runs in this tab using your browser's own regex engine.

How this works

Your pattern is compiled with JavaScript's native RegExp engine and run directly against your sample text in the page. Matches are highlighted inline and listed with their position, so you can confirm a pattern behaves the way you expect before using it in real code.

Common uses

Validating an email or phone number format, extracting IDs from log lines, or debugging why a pattern isn't matching what you expect.