Regex Tester
Regular Expression
//
g - globali - case insensitivem - multilines - dotall (. matches newline)
Test String
Live matching
Highlighted Matches
3 matchesContact us at support@example.com or sales@company.org for assistance.
You can also reach admin@test.net for technical issues.
Match Details
Match 1index: 14-33
support@example.com
Group 1support
Group 2example
Group 3com
Match 2index: 37-54
sales@company.org
Group 1sales
Group 2company
Group 3org
Match 3index: 90-104
admin@test.net
Group 1admin
Group 2test
Group 3net
Common Regex Patterns
| Pattern | Description | Example Match |
|---|---|---|
| \d+ | One or more digits | 123, 4567 |
| \w+@\w+\.\w+ | Simple email | user@example.com |
| https?://\S+ | HTTP/HTTPS URL | https://example.com |
| ^\d{3}-\d{4}$ | Phone number (KR local) | 123-4567 |
| #[0-9A-Fa-f]{6} | Hex color code | #FF5733 |
Click any pattern to use it
Quick Reference
Character Classes
.any character
\ddigit [0-9]
\wword [a-zA-Z0-9_]
\swhitespace
\Dnon-digit
Quantifiers
*0 or more
+1 or more
?0 or 1
{n}exactly n
{n,m}n to m
Anchors & Groups
^start of string
$end of string
\bword boundary
(abc)capture group
(?:abc)non-capture
About Regular Expressions
Regular expressions (regex) are patterns used to match character combinations in strings. They are powerful tools for text search, validation, and manipulation. This tester uses JavaScript's regex engine, which is based on ECMAScript specification.