How to Find & Use Regex Patterns
Browse and use common regex patterns. Free regex library with ready-to-use patterns for emails, URLs, phone numbers, and more.
Open Regex Pattern Library →Step-by-Step Guide
Browse the pattern library
Explore the collection of common regex patterns organized by category: validation (email, phone, URL), extraction (dates, numbers, hashtags), and replacement (formatting, cleanup).
Find your use case
Search for your specific need: "email validation", "phone number", "URL extraction", etc. Each pattern includes a description, the regex itself, and example matches.
Copy and test the pattern
Click to copy the regex pattern. Paste it into the built-in regex tester or your own code. Test with sample input to ensure it matches your expectations.
Adapt as needed
Modify the pattern for your specific requirements. Add anchors (^ and $) for full-string matching, adjust quantifiers, or add flags (i for case-insensitive, g for global).
Try It Now — Free
No signup, no download. Runs entirely in your browser.
Open Regex Pattern Library