๐Ÿ” Regex Tester

by AI Tools ยท DevTools ยท All Tools
/ /

Test String

Matches (highlighted)

๐Ÿ“š Common Patterns

๐Ÿ“ง Email
[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}
๐Ÿ”— URL
https?://[\w\-]+(\.[\w\-]+)+...
๐ŸŒ IPv4
\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b
๐Ÿ“ฑ Phone (US)
\b\d{3}[-.]?\d{3}[-.]?\d{4}\b
๐ŸŽจ Hex Color
#([0-9a-fA-F]{3}|{6})\b
๐Ÿ“… Date
\b\d{4}[-/]\d{2}[-/]\d{2}\b
โฐ Time
\b\d{1,2}:\d{2}(:\d{2})?\s?(AM|PM)?\b
๐Ÿท๏ธ HTML Tag
<(\w+)[^>]*>(.*?)</\1>
๐Ÿ’ต USD
\$[\d,]+(\.\d{2})?
๐Ÿ”’ Password
(?=.*[a-z])(?=.*[A-Z])(?=.*\d)...
๐Ÿ†” UUID
[0-9a-f]{8}-[0-9a-f]{4}-...\b
๐Ÿ“ฎ ZIP Code
\b\d{5}(-\d{4})?\b