O
OmniBox.tools
Client-Side JS Engine · 0ms Latency · 100% Private

Regex Tester & Debugger

Test, validate, and debug regular expressions in real-time with instant match highlighting and capture group breakdown.

🎯 Common Presets:
/ / gi
Flags:
0 matches
Real-time DOM render

Match & Capture Groups Details

# Full Match Index Range Capture Groups
No matches found
Replacement Pattern (supports $1, $2, etc.)
Replaced Result

Regex Cheatsheet & Quick Guide

Character Classes
. - Any character except newline
\w - Word character [a-zA-Z0-9_]
\d - Digit [0-9]
\s - Whitespace (space, tab, newline)
[abc] - Any character in set
[^abc] - Any character NOT in set
Quantifiers & Anchors
^ - Start of string/line
$ - End of string/line
* - 0 or more times
+ - 1 or more times
? - 0 or 1 time (optional)
{n,m} - Between n and m times

Related Developer Tools