# Regex tester

> Test JavaScript regular expressions against your own text with live match highlighting, capture groups, flags, and a replace preview.

Canonical: https://www.joelcsaji.com/tools/regex-tester

Category: Developer. Interactive: open the canonical URL in a browser to use it. It runs entirely client-side.

## What it does

- Matches highlight as you type, with every capture group listed.
- Toggle the g, i, m, s, u, and y flags.
- Preview a replacement string with $1 and named group references.

Back to all tools: https://www.joelcsaji.com/tools
