Regex Tester

/ /
Match Highlighting 0 matches
Match Details
Quick Reference
. Any character
\d Digit [0-9]
\w Word char [a-zA-Z0-9_]
\s Whitespace
^ Start of line
$ End of line
* 0 or more
+ 1 or more
? 0 or 1
{n,m} n to m times
[abc] Character class
(abc) Capture group
(?:abc) Non-capture
a|b Alternation
(?=abc) Lookahead
(?<=abc) Lookbehind

About This Regex Tester

Test and debug regular expressions in real-time with instant match highlighting and capture group extraction. Uses JavaScript's native RegExp engine — results match exactly what you'll get in your code.

Features

Like this tool? Check out our premium developer templates — including the CLAUDE.md Mega Collection ($12) and AI Solopreneur Toolkit ($9).