πŸ“€

πŸ” Regex Tester

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

⚑ Used by 75k+ developers this month
\

πŸ“ Test Text

πŸ’‘ Regex Pattern Guide

πŸ”€

Character Classes

\d digits, \w word chars, \s whitespace, . any character

πŸ”’

Quantifiers

+ one or more, * zero or more, ? optional, {n} exactly n

βš“

Anchors

^ start of line, $ end of line, \b word boundary

🚩

Flags

i ignore case, m multiline, s dot matches newline, g global

πŸ“‹ Common Patterns

\d+ One or more digits
[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,} Email address
https?://[^\s]+ URL
\b\d{3}-\d{3}-\d{4}\b Phone number (US)
#[a-fA-F0-9]{6} Hex color code
\b[A-Z]{2,}\b Uppercase words