.*

Regex Tester

live

Test regular expressions with live match highlighting, group capture, and built-in examples.

Examples:
Pattern
//g
Flags:
Test String
Match Preview
Matches will be highlighted here...
Quick Reference
.Any char
\dDigit [0-9]
\wWord char
\sWhitespace
^Line start
$Line end
*0 or more
+1 or more
?0 or 1
{n,m}Between n-m
[abc]Char class
(x|y)Or
(?:x)Non-capture
(?=x)Lookahead
\bWord boundary
\1Backreference