TESTING

Regex Tester

Test and create regular expressions with real-time matching
Pattern
Test String
Examples
Matches (0)No matches found
Quick Reference
.Any character except newline
\wWord character [a-zA-Z0-9_]
\dDigit [0-9]
\sWhitespace
^Start of string
$End of string
*0 or more
+1 or more
?0 or 1
{n,m}Between n and m times
[abc]Any of a, b, or c
[^abc]Not a, b, or c
(x)Capture group
(?:x)Non-capture group