regexLibrary.title
regexLibrary.subtitle
Email Address
iEmail & Contact
Validates standard email addresses
US Phone Number
Email & Contact
Matches US phone numbers in various formats
International Phone
Email & Contact
E.164 format international phone numbers
URL (HTTP/HTTPS)
URLs & Web
Validates HTTP and HTTPS URLs
Domain Name
iURLs & Web
Validates domain names
IPv4 Address
URLs & Web
Matches valid IPv4 addresses
URL Slug
URLs & Web
Validates URL-friendly slugs
Strong Password
Passwords & Security
At least 8 chars, 1 uppercase, 1 lowercase, 1 number, 1 special char
JWT Token
Passwords & Security
Matches JSON Web Tokens
Integer
Numbers & Currency
Matches positive or negative integers
Decimal Number
Numbers & Currency
Matches integers and decimal numbers
US Dollar Amount
Numbers & Currency
Matches US dollar amounts
Credit Card Number
Numbers & Currency
Validates major credit card formats
ISO Date (YYYY-MM-DD)
Dates & Time
Matches ISO 8601 date format
24-Hour Time
Dates & Time
Matches 24-hour time format
Filename
File & Path
Matches filenames with extensions
Image File
iFile & Path
Matches common image file extensions
Hex Color
HTML & Code
Matches hex color codes
Variable Name
HTML & Code
Matches valid JavaScript variable names
Username
Text & Content
Alphanumeric username, 3-16 characters
Hashtag
Text & Content
Matches social media hashtags
UUID
iText & Content
Matches UUID v4 format
US ZIP Code
Geographic
Matches US ZIP codes
You Might Also Like
Explore more tools in this category
About Regex Library
Regular expressions (regex) are powerful patterns used for matching, searching, and manipulating text. This library provides ready-to-use regex patterns for common validation and extraction tasks.
How to Use
- Browse patterns by category or search by name
- Click copy button to copy pattern to clipboard
- Test patterns using our Regex Tester tool
- Flags like 'i' indicate case-insensitive matching