Regex TesterRegular ExpressionPattern MatchLive TestCheat SheetFree ToolRegex TesterRegular ExpressionPattern MatchLive TestCheat SheetFree Tool

Regex
Tester

Pattern · Test String · Live Matches

Pattern

//

Test String

Matches

0
Matches
Groups

Common Patterns

PatternMatchesExample
\d+Numbers42, 12345
[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}Emailuser@example.com
\d{3}-\d{3}-\d{4}US Phone555-123-4567
https?://[^\s]+URLhttps://example.com
\$[\d,.]+Price$42.99
#\d+Order/ID#12345

Tap a pattern to load it into the tester

Regex Cheat Sheet

SymbolMeaning
.Any character (except newline)
\dDigit (0-9)
\wWord character (a-z, A-Z, 0-9, _)
\sWhitespace
+One or more
*Zero or more
?Zero or one (optional)
{n}Exactly n times
^Start of string
$End of string
[abc]Character class (a, b, or c)
(group)Capture group