Back to Tools
Text ยท Pattern matching
Test, inspect, and debug regex
Match patterns against text and inspect every capture group. Runs locally in your browser.
Runs locallyNo telemetry
Regular Expression
Pattern Preview:
Enter a pattern aboveTest Text
Sample Patterns
Email Validation
Matches email addresses
[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}Phone Number (US)
Matches US phone numbers
\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})URL Matcher
Matches HTTP/HTTPS URLs
https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)IPv4 Address
Matches IPv4 addresses
\b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\bHTML Tags
Matches HTML tags
<[^>]*>Ready to Test
Enter a regular expression and test text to see live results
