Regex Tester & Simulator
Test regular expressions in real time with live highlighting, match inspection, and capture groups
/
/
Live Match Highlighting (2 matches found)2 Matches
Contact our support team at contact@example.com or sales@company.org for enterprise inquiries. Invalid: john@domain
Match Details & Capture Groups:
| # | Index | Matched String | Length | Capture Groups |
|---|---|---|---|---|
| 1 | 28 | contact@example.com | 19 chars | None |
| 2 | 51 | sales@company.org | 17 chars | None |
Regular Expressions Quick Reference
Character Classes
.Any character except newline\dAny digit [0-9] | Non-digit (\D)\wWord character [a-zA-Z0-9_] | Non-word (\W)\sWhitespace character | Non-whitespace (\S)
Quantifiers & Anchors
+1 or more (+) | 0 or more (*) | 0 or 1 (?){2,5}Between 2 and 5 occurrences^Start of string (^) | End of string ($)\bWord boundary