Regular Expression Tester

Test and validate regular expressions with live matching

Regular Expression
/ /
Flags: g (global), i (ignore case), m (multiline), s (dotall), u (unicode), y (sticky)
Test String
Match Results

Results will appear here after testing...

Highlighted Matches

Highlighted text will appear here...

Quick Patterns
Statistics
  • Total Matches: 0
  • Unique Matches: 0
  • Pattern Valid: Yes
Cheatsheet
Characters:
. Any character
\d Digit
\w Word character
\s Whitespace

Quantifiers:
* 0 or more
+ 1 or more
? 0 or 1
{n} Exactly n

Anchors:
^ Start of line
$ End of line
\b Word boundary

Groups:
() Capture group
[] Character class
| OR operator
Advertisement

Your Ad Here

300x250
Sponsored
Advertisement

Your Ad Here

300x250
Sponsored