← BBobop

Regex Craft

Build, test, and visualize regular expressions. Live matching. Zero dependencies.

Test String

Matches

Match Details

Quick Reference

. Any char
\d Digit
\w Word char
\s Whitespace
^ Start
$ End
* 0+ times
+ 1+ times
? 0 or 1
{n,m} n to m
[abc] Char class
() Group
(?:) Non-capture
(?=) Lookahead
(?!) Neg. lookahead
\b Word boundary