The Ultimate Regex Library
for Developers
Stop googling "Email Regex" every time. A modular, community-validated collection of regex patterns for every use case.
Browse by Category
Find exactly what you need by exploring our organized collections.
Everything you need to validate inputs
Built by developers, for developers. A collection that grows stronger with every contribution.
Community Validated
Patterns are tested and improved by developers worldwide. No more broken regex in production.
Region Specific
Find validators for Indian PAN, Brazilian CPF, US Zip Codes, and more.
Copy-Paste Ready
One click to copy the regex or the TypeScript validation function.
TypeScript First
Every pattern comes with type-safe wrapper functions and test cases.
Zero Dependencies
Pure regex patterns. No heavy validation libraries to bloat your bundle.
Open Source
Found a bug? Submit a PR. We love contributions and improvements.
Build the Ultimate Regex Library
With Us
CopyRegex is a community effort. Whether you're a regex wizard or just getting started, there are many ways to contribute and make this tool better for everyone.
Submit Patterns
Have a useful regex pattern? Submit a Pull Request to add it to our collection and help thousands of developers.
Submit PRReport Issues
Found a bug or a pattern that doesn't work as expected? Open an issue on GitHub and we'll fix it together.
Open IssueStar & Share
Support the project by starring the repo on GitHub and sharing it with your friends and colleagues.
Star Repo