Regex Tester

Test regular expressions live — highlight matches, count them, and toggle flags. Runs in your browser.

/ /

How to use

Type a pattern and flags (like g, i, m, s) and a test string — matches are highlighted live and counted. Uses your browser's own regular-expression engine, so it behaves exactly like JavaScript.