Antpact Toolbox
中文
Home › Utilities & Developer › Regex Tester

Regex Tester

Highlight every match and capture groups in real time.

Privacy: this tool runs entirely in your browser — files are never uploaded, and data is gone when you close the page.

How to use

  1. Enter the pattern and flags (g/i/m).
  2. Paste test text to highlight live.

FAQ

What does g do?

Global match; lists every hit instead of just the first.

Escape special chars?

In literals, . * + ? etc. need a backslash escape.

About this Regex Tester

Uses the browser RegExp. With the g flag, all matches are listed.