Regular Expression Tester
Test and debug your regular expressions in real-time. All processing is done in your browser - no data is sent to any server.
Results
Pattern Explanation
Common Regex Examples
Email Validation
^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$
Password Validation
^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{8,}$
Phone Number (E.164)
^\+?[1-9]\d{1,14}$
MAC Address
^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$