Regex tester

Write a regular expression and see, live, every place it matches in your text along with the capture groups. Enter your pattern and flags, paste a test string, and iterate — the matching runs entirely in your browser.

.*

Regex tester

Live matches & capture groups

//
Test string
Matches
Output appears here…

0 bytes of your file have left this device. Counted live in this tab, not claimed — open your browser’s Network tab and watch.

How it works

  1. 1

    Paste your input on the left.

  2. 2

    Pick a mode if the tool has one — the result updates instantly.

  3. 3

    Copy the output with one click. Nothing is ever uploaded.

Frequently asked questions

Which flags are supported?

g, i, m, s, u and y — the standard JavaScript RegExp flags. g is always applied so you see every match.

Is my text uploaded?

No — the regex runs on your device, so test strings with real data stay private.