Regex Editor & Tester

Test and debug regular expressions with live feedback, match highlighting, and capture group visualization.

/ /

Test String

Preview & Matches

Status
Valid
Matches
0
Capture Groups
0
Test string length
0
Flags
-

How it works

  1. 1

    Enter pattern

    Type or paste a regex pattern without slashes.

  2. 2

    Choose flags

    Enable global, case-insensitive, or other modifiers.

  3. 3

    Test & debug

    See matches highlighted and capture groups extracted.

Frequently asked questions

Is my regex and test string private?

Yes. All regex testing happens entirely in your browser—nothing is uploaded or stored.

What do the flags do?

g = global (all matches), i = case-insensitive, m = multiline, s = dotall, y = sticky, u = unicode.

Can I see capture groups?

Yes. When your pattern includes parentheses for capture groups, they'll be highlighted and displayed in the match details.

Copied to clipboard