Free Online Regex Tester & Validator - Test Patterns Instantly

Test and validate regular expressions online with real-time highlighting. Free regex pattern tester with syntax validation, match results, and save functionality. Test regex now!

Regex Pattern Tester

Copy

Match Results

Enter a pattern and test text to see results

Save Pattern

Saved Patterns

No saved patterns yet

Regex Symbols Guide

.Matches any character except newline
\dMatches any digit (0-9)
\DMatches any non-digit
\wMatches any word character (a-z, A-Z, 0-9, _)
\WMatches any non-word character
\sMatches any whitespace character
\SMatches any non-whitespace character
^Matches start of line
$Matches end of line
*Matches 0 or more of the preceding character
+Matches 1 or more of the preceding character
?Matches 0 or 1 of the preceding character
{n}Matches exactly n of the preceding character
{n,}Matches at least n of the preceding character
{n,m}Matches between n and m of the preceding character
[abc]Matches any one of the characters in the brackets
[^abc]Matches any character not in the brackets
(abc)Groups multiple tokens together and captures the match
a|bMatches either a or b
\bMatches a word boundary position
📚

Documentation

Loading content...
🔗

Related Tools

Discover more tools that might be useful for your workflow