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:
Quantifiers:
Anchors:
Groups:
.
Any character\d
Digit\w
Word character\s
WhitespaceQuantifiers:
*
0 or more+
1 or more?
0 or 1{n}
Exactly nAnchors:
^
Start of line$
End of line\b
Word boundaryGroups:
()
Capture group[]
Character class|
OR operator
Advertisement
Your Ad Here
300x250
Advertisement
Your Ad Here
300x250