BanderLabs tool

Regex Tester

Test and debug regular expressions live.

Pattern
/ /

Test String

Quick Reference
.Any character
\dDigit [0-9]
\wWord char [a-zA-Z0-9_]
\sWhitespace
^Start of line
$End of line
*0 or more
+1 or more
?0 or 1
(abc)Capture group
(?:abc)Non-capture group
[abc]Character class
a|bAlternation
{n,m}Repeat n to m times
No pattern
Test string
Enter a pattern and test string to see matches highlighted here.
Matches
No matches yet.