Advertisement

Regex Tester

Test regular expressions with live matching and pattern validation

Regular Expression

Test Text

Match Results

0 matches
No matches found

Quick Reference

Character Classes
. - Any character
\d - Digit
\w - Word character
\s - Whitespace
Quantifiers
* - 0 or more
+ - 1 or more
? - 0 or 1
{n,m} - Between n and m
Anchors
^ - Start of string
$ - End of string
\b - Word boundary
Groups
() - Capture group
(?:) - Non-capture
| - Alternation