Test patterns with flags, view matches, and highlight results.
Runs locally — no data leaves your browser.
Enter a pattern and flags. See matches, groups, and highlighted text.
A quick way to try JavaScript regular expressions with flags like g, i, and m. Paste sample text, run a test, and see matches highlighted in context along with captured groups. Great for building and debugging patterns for validation, parsing, and search.
g
for global matches, i
for case‑insensitive, m
for multi‑line anchors.\\d
for digit).Privacy: runs entirely in your browser—no data is sent anywhere.