Mavis Tools

Developer

Regex Tester

Test JavaScript regular expressions against sample text and view matches.

About this regex tester

Test JavaScript regex patterns against sample text for validation, extraction, parsing, and debugging.

Mavis Tools is built for quick utility work: paste the input, get the result, and move on. The page is static-first for speed, and the interactive work happens in your browser. That makes it useful for drafts, calculations, debugging snippets, and repeat everyday tasks.

This tool is intentionally focused. It does one job clearly instead of asking for an account or hiding the result behind a long workflow. Bookmark it if you need a fast regex tester that works on desktop and mobile.

FAQ

Which regex engine is used?

The browser's JavaScript regular expression engine.

Can I set flags?

Yes. Enter flags such as g, i, m, s, u, or y.

Does it show errors?

Invalid patterns show the browser regex error message.