DevOps · Regex

Live JavaScript Regex Tester & Match Extractor

Edit a pattern and watch matches, capture groups, and positions update instantly. Everything runs in your browser with native JavaScript RegExp semantics.

g
Flags
Edit freely — your text never leaves this tab.
Yellow marks are matches; colored underlines show overlapping capture groups.

Match extractor

No matches to display.

Code snippet export

Ready-to-paste JavaScript using the current pattern, flags, and sample text.


    
Which regex syntax and flags are supported?

This tester uses the browser's native JavaScript RegExp engine, so named capture groups, lookarounds, backreferences, Unicode property escapes, and the g i m s u y flags behave exactly as they do in your code.

Is my test text or pattern uploaded anywhere?

No. Parsing, matching, highlighting, and snippet generation all happen locally in your browser. Nothing is sent to a server, and no third-party regex library is loaded.