🔍 Regex Tester

Test regular expressions with real-time highlighting and capture groups.

/ /
Quick Reference
.Any character (except newline) \dDigit [0-9] \wWord char [A-Za-z0-9_] \sWhitespace ^Start of string/line $End of string/line *0 or more +1 or more ?0 or 1 {n,m}Between n and m times [abc]Character class (abc)Capture group (?:abc)Non-capturing group a|bAlternation (a or b) (?=abc)Positive lookahead (?!abc)Negative lookahead

Free Regex Tester

Test and debug regular expressions in real-time. See matches highlighted, view capture groups, and use our built-in quick reference. Supports all JavaScript regex flags including global, case-insensitive, multiline, dotAll, and unicode. All processing happens in your browser — your data never leaves your device.