Advertisement

Regex Tester

Test, debug, and validate regular expressions with real-time matching and detailed explanations

🎯 Match Results

📖 Regex Explanation

🚀 Common Regex Patterns

Quickly test common regular expression patterns

📚 Regex Cheatsheet

Common regex symbols and their meanings

.
Any character except newline
\w
Word character (a-z, A-Z, 0-9, _)
\d
Digit (0-9)
\s
Whitespace character
^
Start of string
$
End of string
[abc]
Any of a, b, or c
[^abc]
Not a, b, or c
a|b
a or b
*
0 or more
+
1 or more
?
0 or 1
{n}
Exactly n times
( )
Capture group
\b
Word boundary
Advertisement
Follow Us