🔍 Regex Tester

Test and debug regular expressions with real-time matching and highlighting.

//g

📚 Quick Reference

Characters

. Any character

\d Digit [0-9]

\w Word [a-zA-Z0-9_]

\s Whitespace

Quantifiers

* 0 or more

+ 1 or more

? 0 or 1

{n,m} n to m times

Anchors

^ Start of string

$ End of string

\b Word boundary

Groups

(abc) Capture group

(?:abc) Non-capture

a|b Alternation