Test JavaScript regular expressions with real-time matching, capture groups, and highlighted preview. 100% client-side — nothing leaves your browser.
Paste or type the text to match against. Results update in real-time.
\d{3}-\d{4} matches phone numbers like 555-1234.(?<name>...), lookaheads, and all standard flags.\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b), email addresses ([\w.-]+@[\w.-]+\.\w+), URLs (https?://[^\s]+), MD5 hashes (\b[a-fA-F0-9]{32}\b), SHA-256 hashes (\b[a-fA-F0-9]{64}\b), and domain names.