๐ Regex Tester
Test and debug regular expressions in real time.
//
Matches
0 matchesEnter a pattern to start matching
Regex Tester โ Regular Expression Debugger
A regular expression (regex) is a sequence of characters that defines a search pattern. Regex is used in programming for text search, text replace, input validation, and string parsing. Our real-time regex tester shows all matches as you type โ no need to run code. Supports all JavaScript regex flags: g (global), i (case-insensitive), m (multiline), and s (dotAll).
Common Regex Patterns
Email
^[\w.-]+@[\w.-]+\.\w{2,}$URL
https?:\/\/[\w\-.]+\.[a-z]{2,}Phone (US)
\(?\d{3}\)?[-.\s]?\d{3}[-.\s]?\d{4}IP Address
\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\bHex Color
#[0-9A-Fa-f]{6}\bDate (YYYY-MM-DD)
\d{4}-\d{2}-\d{2}