{
DT
}
DevToolkit
Bun
Node
JSON
Utilities
Text & Code
Home
Tools
Regex Tester
.*
Regex Tester
Test regular expressions with real-time matching and highlighting.
Regular Expression
/
/g
Global (g)
Case Insensitive (i)
Multiline (m)
Dot All (s)
Unicode (u)
Test String
Common Patterns
Email
user@example.com
URL
https://example.com/path
Phone (US)
(555) 123-4567
Phone (International)
+1 555-123-4567
IPv4 Address
192.168.1.1
IPv6 Address
2001:0db8:85a3:0000:0000:8a2e:0370:7334
Credit Card
1234-5678-9012-3456
Date (YYYY-MM-DD)
2024-12-31
Date (MM/DD/YYYY)
12/31/2024
Time (24h)
14:30:00
Hex Color
#FF5733 or #F53
UUID
550e8400-e29b-41d4-a716-446655440000
ZIP Code (US)
12345 or 12345-6789
HTML Tag
<div>content</div>
Username
user_name123
Password (Strong)
Pass@word1
Slug
my-blog-post
Mac Address
00:1A:2B:3C:4D:5E
SSN (US)
123-45-6789
Frequently Asked Questions
What is a regular expression?
What do the regex flags mean?
How do I escape special characters?