DevKit
/
Regex Tester
Tools
Regex Tester
Test regular expressions with flags, see matches and groups, and preview replacements.
Pattern & Flags
Test
Regular Expression
Flags
Global (g)
Find all matches
Ignore Case (i)
Case insensitive
Multiline (m)
^$ match line breaks
Dot All (s)
. matches newlines
Unicode (u)
Unicode mode
Sticky (y)
Match from lastIndex
Test
Replace
Common Patterns
Email
Basic email pattern
URL
HTTP/HTTPS URL pattern
Phone (US)
US phone number pattern
IPv4 Address
IPv4 address pattern
Hex Color
Hex color code pattern
Date (YYYY-MM-DD)
ISO date format
Credit Card
Credit card number pattern
HTML Tag
HTML tag pattern
Test String
Hello world! This is a test string.
Matches
0 matches
No matches found