Regex Patterns Library
Browse ready-to-use regular expressions for emails, URLs, IPs, dates, and passwords with instant live testing.
Related developer tools
All Developer toolsRegex Tester
Test regular expressions with live match highlights, capture groups, and replacements.
Regex Escape, Splitter & Match Extractor
Extract all regex matches or capture groups, split text by pattern delimiters, or escape literal strings for regex.
Base64 Encoder & Decoder
Encode or decode UTF-8 text and convert local files into Base64 data URLs.
URL Encoder & Decoder
Percent-encode or decode URLs and inspect or edit query string parameters.
About Regex Patterns Library
Browse a curated library of practical regular expressions for emails, URLs, IP addresses, dates, slugs, UUIDs, and passwords, and test every pattern live against your own sample strings.
How to use Regex Patterns Library
- 1
Filter the pattern library by category or search for the format you want to validate or extract.
- 2
Select any card to load the regular expression into the live tester or edit the sample test input.
- 3
Copy either the raw regex pattern or a ready-to-paste JavaScript literal with flags.
Frequently asked questions
Are these regex patterns safe to copy into JavaScript or TypeScript?
Yes. Every pattern is written for standard ECMAScript RegExp engines and can be copied either as a raw string or as a /pattern/flags literal.
Can I test a pattern against my own private sample data?
Yes. The live tester evaluates regular expressions directly in your browser without sending any sample text over the network.
Should I rely on regex alone for strict email or URL validation?
Regular expressions are ideal for quick format checks and extraction, while production forms should also verify domains or parse URLs with the native URL constructor.
