Regex Sandbox
Regex Pattern
?
Flags
?
Common Patterns
Choose a pattern...
Words (\b\w+\b)
Numbers (\d+)
Email
Phone (XXX-XXX-XXXX)
URLs
Word pairs
Capitalized words
Acronyms
Currency ($)
Dates (MM/DD/YYYY)
Hex colors
Empty lines
Sample Text
The quick brown fox jumps over the lazy dog. 123-456-7890. Email: test@example.com Visit our website: https://example.com or call us at 555-123-4567. Colors: #ff5252, #ffeb3b, #4caf50 Date: 12/25/2023 Price: $29.99 NASA, FBI, CIA are common acronyms.