Regex library
Regex Library
Browse all regex guides, examples, concepts and categories available on CreateRegex.
15 pages
50 examples
15 concepts
93 guides
Categories
Advanced Regex 11
Api 10
Compatibility 11
Data & Formats 23
Design 12
Examples 50
Guides 93
Identity 11
Javascript 11
Key Concepts 15
Learning 112
Networking 26
Reference 13
Regex Engine 11
Security 12
SEO 12
Telecommunications 13
Tutorial 12
Validation 126
Web Development 46
Tags
All Regex Guides
Advanced Regex
Page 1
Concept 3
Guide 7
What is a lookbehind assertion?
JavaScript Lookbehind
Guide
Positive vs negative lookbehind
JavaScript Lookbehind
Guide
Why use lookbehind in JavaScript?
JavaScript Lookbehind
Guide
Common lookbehind use cases
JavaScript Lookbehind
Guide
Browser compatibility considerations
JavaScript Lookbehind
Guide
Lookbehind vs capturing groups
JavaScript Lookbehind
Guide
When not to use lookbehind
JavaScript Lookbehind
Guide
Api
Page 1
Example 4
Compatibility
Concept 3
Guide 7
What is PCRE?
JavaScript Regex vs PCRE
Guide
Why do regex engines behave differently?
JavaScript Regex vs PCRE
Guide
JavaScript regex vs PCRE
JavaScript Regex vs PCRE
Guide
Lookbehind and modern regex features
JavaScript Regex vs PCRE
Guide
Unicode support differences
JavaScript Regex vs PCRE
Guide
Why does a regex work in a testing tool but not in my code?
JavaScript Regex vs PCRE
Guide
Which regex engine should you learn?
JavaScript Regex vs PCRE
Guide
Data & Formats
Page 2
Example 9
Guide 12
Why validate dates with regex?
Date Regex
Guide
Common date formats
Date Regex
Guide
ISO 8601 date validation
Date Regex
Guide
Can regex validate real calendar dates?
Date Regex
Guide
Date format validation vs date parsing
Date Regex
Guide
Common date validation mistakes
Date Regex
Guide
When to use a date regex
Date Regex
Guide
What is a UUID?
UUID Regex
Guide
Common UUID format
UUID Regex
Guide
UUID versions
UUID Regex
Guide
Can regex verify UUID uniqueness?
UUID Regex
Guide
When to use a UUID regex
UUID Regex
Guide
Design
Page 1
Example 6
Examples
Example 50
Minimum 8 characters
Password Regex
Example
Letters and numbers
Password Regex
Example
Strong password
Password Regex
Example
Strong password (12+ chars)
Password Regex
Example
Simple email regex
Email Regex
Example
More restrictive email regex
Email Regex
Example
Simple URL regex
URL Regex
Example
HTTPS-only URL regex
URL Regex
Example
Simple phone number
Phone Number Regex
Example
E.164 international format
Phone Number Regex
Example
French mobile number
Phone Number Regex
Example
US phone number
Phone Number Regex
Example
Mobile numbers only
Phone Number Regex
Example
Letters and numbers
Username Regex
Example
Letters, numbers and underscore
Username Regex
Example
Username with length limit
Username Regex
Example
Lowercase username
Username Regex
Example
Username with hyphen
Username Regex
Example
International username
Username Regex
Example
DD/MM/YYYY
Date Regex
Example
DD-MM-YYYY
Date Regex
Example
ISO date
Date Regex
Example
ISO datetime
Date Regex
Example
Stricter DD/MM/YYYY
Date Regex
Example
Simple IPv4
IP Address Regex
Example
Strict IPv4
IP Address Regex
Example
Private IPv4 ranges
IP Address Regex
Example
IPv4 with CIDR
IP Address Regex
Example
Basic IPv6
IP Address Regex
Example
Standard UUID
UUID Regex
Example
UUID v4
UUID Regex
Example
UUID v1 to v5
UUID Regex
Example
UUID without hyphens
UUID Regex
Example
Short hex color
Hex Color Regex
Example
Long hex color
Hex Color Regex
Example
Short or long hex color
Hex Color Regex
Example
Hex color with alpha
Hex Color Regex
Example
Any CSS hex color
Hex Color Regex
Example
Hex color without #
Hex Color Regex
Example
Simple domain name
Domain Name Regex
Example
Domain with subdomains
Domain Name Regex
Example
Strict domain labels
Domain Name Regex
Example
Lowercase domain name
Domain Name Regex
Example
Domain with optional trailing dot
Domain Name Regex
Example
Punycode domain
Domain Name Regex
Example
Basic slug
Slug Regex
Example
SEO-friendly slug
Slug Regex
Example
Slug with underscores
Slug Regex
Example
Fixed-length slug
Slug Regex
Example
Unicode slug
Slug Regex
Example
Guides
Guide 93
Why validate passwords with regex?
Password Regex
Guide
Common password requirements
Password Regex
Guide
Strong passwords vs complex passwords
Password Regex
Guide
Can regex measure password strength?
Password Regex
Guide
Client-side and server-side validation
Password Regex
Guide
Common password validation mistakes
Password Regex
Guide
Modern password recommendations
Password Regex
Guide
Why use an email regex?
Email Regex
Guide
What makes email validation difficult?
Email Regex
Guide
Common email validation rules
Email Regex
Guide
Regex validation vs real email verification
Email Regex
Guide
Should you use a strict or simple email regex?
Email Regex
Guide
Why use a URL regex?
URL Regex
Guide
What is a valid URL?
URL Regex
Guide
HTTP vs HTTPS URL validation
URL Regex
Guide
Should a regex validate URLs completely?
URL Regex
Guide
Common URL validation mistakes
URL Regex
Guide
When to use URL regex validation
URL Regex
Guide
Why validate phone numbers with regex?
Phone Number Regex
Guide
What is the E.164 phone number format?
Phone Number Regex
Guide
International phone numbers are difficult to validate
Phone Number Regex
Guide
Mobile numbers vs landline numbers
Phone Number Regex
Guide
Formatting and user-friendly input with spaces, parentheses, dashes and other
Phone Number Regex
Guide
Can regex verify a real phone number?
Phone Number Regex
Guide
Best practices for phone number validation
Phone Number Regex
Guide
What is a username regex?
Username Regex
Guide
Common username validation rules
Username Regex
Guide
ASCII usernames vs Unicode usernames
Username Regex
Guide
What regex cannot validate
Username Regex
Guide
Why validate dates with regex?
Date Regex
Guide
Common date formats
Date Regex
Guide
ISO 8601 date validation
Date Regex
Guide
Can regex validate real calendar dates?
Date Regex
Guide
Date format validation vs date parsing
Date Regex
Guide
Common date validation mistakes
Date Regex
Guide
When to use a date regex
Date Regex
Guide
Why validate IP addresses with regex?
IP Address Regex
Guide
IPv4 vs IPv6
IP Address Regex
Guide
What makes IPv6 validation difficult?
IP Address Regex
Guide
CIDR notation explained
IP Address Regex
Guide
Private vs public IP addresses
IP Address Regex
Guide
Can regex verify that an IP address exists?
IP Address Regex
Guide
When to use IP address regex validation
IP Address Regex
Guide
What is a UUID?
UUID Regex
Guide
Common UUID format
UUID Regex
Guide
UUID versions
UUID Regex
Guide
Can regex verify UUID uniqueness?
UUID Regex
Guide
When to use a UUID regex
UUID Regex
Guide
What is a hex color?
Hex Color Regex
Guide
Short vs long hex colors
Hex Color Regex
Guide
Hex colors with alpha transparency
Hex Color Regex
Guide
Common hex color validation mistakes
Hex Color Regex
Guide
When to use a hex color regex
Hex Color Regex
Guide
What is a domain name?
Domain Name Regex
Guide
Domain name vs URL
Domain Name Regex
Guide
Subdomains and labels
Domain Name Regex
Guide
Common domain validation mistakes
Domain Name Regex
Guide
Can regex verify that a domain exists?
Domain Name Regex
Guide
Internationalized domain names
Domain Name Regex
Guide
What is a slug?
Slug Regex
Guide
Why are slugs important for SEO?
Slug Regex
Guide
Common slug rules
Slug Regex
Guide
Slug validation vs slug generation
Slug Regex
Guide
Unicode slugs and international websites
Slug Regex
Guide
When to use a slug regex
Slug Regex
Guide
What is a regex cheatsheet?
Regex Cheatsheet
Guide
The most important regex tokens to know
Regex Cheatsheet
Guide
Character classes explained
Regex Cheatsheet
Guide
Understanding regex quantifiers
Regex Cheatsheet
Guide
Groups, alternation and anchors
Regex Cheatsheet
Guide
Regex syntax differences between languages
Regex Cheatsheet
Guide
How to learn regex efficiently
Regex Cheatsheet
Guide
How to learn regex step by step
Regex Tutorial
Guide
Start with literal text
Regex Tutorial
Guide
Use character classes for flexibility
Regex Tutorial
Guide
Add quantifiers to repeat patterns
Regex Tutorial
Guide
Use groups to organize your regex
Regex Tutorial
Guide
Test regex patterns often
Regex Tutorial
Guide
Common beginner mistakes
Regex Tutorial
Guide
What is a lookbehind assertion?
JavaScript Lookbehind
Guide
Positive vs negative lookbehind
JavaScript Lookbehind
Guide
Why use lookbehind in JavaScript?
JavaScript Lookbehind
Guide
Common lookbehind use cases
JavaScript Lookbehind
Guide
Browser compatibility considerations
JavaScript Lookbehind
Guide
Lookbehind vs capturing groups
JavaScript Lookbehind
Guide
When not to use lookbehind
JavaScript Lookbehind
Guide
What is PCRE?
JavaScript Regex vs PCRE
Guide
Why do regex engines behave differently?
JavaScript Regex vs PCRE
Guide
JavaScript regex vs PCRE
JavaScript Regex vs PCRE
Guide
Lookbehind and modern regex features
JavaScript Regex vs PCRE
Guide
Unicode support differences
JavaScript Regex vs PCRE
Guide
Why does a regex work in a testing tool but not in my code?
JavaScript Regex vs PCRE
Guide
Which regex engine should you learn?
JavaScript Regex vs PCRE
Guide
Identity
Page 1
Example 6
Javascript
Page 1
Concept 3
Guide 7
What is a lookbehind assertion?
JavaScript Lookbehind
Guide
Positive vs negative lookbehind
JavaScript Lookbehind
Guide
Why use lookbehind in JavaScript?
JavaScript Lookbehind
Guide
Common lookbehind use cases
JavaScript Lookbehind
Guide
Browser compatibility considerations
JavaScript Lookbehind
Guide
Lookbehind vs capturing groups
JavaScript Lookbehind
Guide
When not to use lookbehind
JavaScript Lookbehind
Guide
Key Concepts
Concept 15
Anchors and boundaries
Regex Cheatsheet
Concept
Character classes
Regex Cheatsheet
Concept
Quantifiers
Regex Cheatsheet
Concept
Groups and alternatives
Regex Cheatsheet
Concept
Lookarounds
Regex Cheatsheet
Concept
Start with exact text
Regex Tutorial
Concept
Use character classes
Regex Tutorial
Concept
Add repetition
Regex Tutorial
Concept
Test often
Regex Tutorial
Concept
Positive lookbehind
JavaScript Lookbehind
Concept
Negative lookbehind
JavaScript Lookbehind
Concept
Compatibility
JavaScript Lookbehind
Concept
Common features
JavaScript Regex vs PCRE
Concept
PCRE-specific strengths
JavaScript Regex vs PCRE
Concept
JavaScript-specific behavior
JavaScript Regex vs PCRE
Concept
Learning
Page 4
Concept 15
Anchors and boundaries
Regex Cheatsheet
Concept
Character classes
Regex Cheatsheet
Concept
Quantifiers
Regex Cheatsheet
Concept
Groups and alternatives
Regex Cheatsheet
Concept
Lookarounds
Regex Cheatsheet
Concept
Start with exact text
Regex Tutorial
Concept
Use character classes
Regex Tutorial
Concept
Add repetition
Regex Tutorial
Concept
Test often
Regex Tutorial
Concept
Positive lookbehind
JavaScript Lookbehind
Concept
Negative lookbehind
JavaScript Lookbehind
Concept
Compatibility
JavaScript Lookbehind
Concept
Common features
JavaScript Regex vs PCRE
Concept
PCRE-specific strengths
JavaScript Regex vs PCRE
Concept
JavaScript-specific behavior
JavaScript Regex vs PCRE
Concept
Guide 93
Why validate passwords with regex?
Password Regex
Guide
Common password requirements
Password Regex
Guide
Strong passwords vs complex passwords
Password Regex
Guide
Can regex measure password strength?
Password Regex
Guide
Client-side and server-side validation
Password Regex
Guide
Common password validation mistakes
Password Regex
Guide
Modern password recommendations
Password Regex
Guide
Why use an email regex?
Email Regex
Guide
What makes email validation difficult?
Email Regex
Guide
Common email validation rules
Email Regex
Guide
Regex validation vs real email verification
Email Regex
Guide
Should you use a strict or simple email regex?
Email Regex
Guide
Why use a URL regex?
URL Regex
Guide
What is a valid URL?
URL Regex
Guide
HTTP vs HTTPS URL validation
URL Regex
Guide
Should a regex validate URLs completely?
URL Regex
Guide
Common URL validation mistakes
URL Regex
Guide
When to use URL regex validation
URL Regex
Guide
Why validate phone numbers with regex?
Phone Number Regex
Guide
What is the E.164 phone number format?
Phone Number Regex
Guide
International phone numbers are difficult to validate
Phone Number Regex
Guide
Mobile numbers vs landline numbers
Phone Number Regex
Guide
Formatting and user-friendly input with spaces, parentheses, dashes and other
Phone Number Regex
Guide
Can regex verify a real phone number?
Phone Number Regex
Guide
Best practices for phone number validation
Phone Number Regex
Guide
What is a username regex?
Username Regex
Guide
Common username validation rules
Username Regex
Guide
ASCII usernames vs Unicode usernames
Username Regex
Guide
What regex cannot validate
Username Regex
Guide
Why validate dates with regex?
Date Regex
Guide
Common date formats
Date Regex
Guide
ISO 8601 date validation
Date Regex
Guide
Can regex validate real calendar dates?
Date Regex
Guide
Date format validation vs date parsing
Date Regex
Guide
Common date validation mistakes
Date Regex
Guide
When to use a date regex
Date Regex
Guide
Why validate IP addresses with regex?
IP Address Regex
Guide
IPv4 vs IPv6
IP Address Regex
Guide
What makes IPv6 validation difficult?
IP Address Regex
Guide
CIDR notation explained
IP Address Regex
Guide
Private vs public IP addresses
IP Address Regex
Guide
Can regex verify that an IP address exists?
IP Address Regex
Guide
When to use IP address regex validation
IP Address Regex
Guide
What is a UUID?
UUID Regex
Guide
Common UUID format
UUID Regex
Guide
UUID versions
UUID Regex
Guide
Can regex verify UUID uniqueness?
UUID Regex
Guide
When to use a UUID regex
UUID Regex
Guide
What is a hex color?
Hex Color Regex
Guide
Short vs long hex colors
Hex Color Regex
Guide
Hex colors with alpha transparency
Hex Color Regex
Guide
Common hex color validation mistakes
Hex Color Regex
Guide
When to use a hex color regex
Hex Color Regex
Guide
What is a domain name?
Domain Name Regex
Guide
Domain name vs URL
Domain Name Regex
Guide
Subdomains and labels
Domain Name Regex
Guide
Common domain validation mistakes
Domain Name Regex
Guide
Can regex verify that a domain exists?
Domain Name Regex
Guide
Internationalized domain names
Domain Name Regex
Guide
What is a slug?
Slug Regex
Guide
Why are slugs important for SEO?
Slug Regex
Guide
Common slug rules
Slug Regex
Guide
Slug validation vs slug generation
Slug Regex
Guide
Unicode slugs and international websites
Slug Regex
Guide
When to use a slug regex
Slug Regex
Guide
What is a regex cheatsheet?
Regex Cheatsheet
Guide
The most important regex tokens to know
Regex Cheatsheet
Guide
Character classes explained
Regex Cheatsheet
Guide
Understanding regex quantifiers
Regex Cheatsheet
Guide
Groups, alternation and anchors
Regex Cheatsheet
Guide
Regex syntax differences between languages
Regex Cheatsheet
Guide
How to learn regex efficiently
Regex Cheatsheet
Guide
How to learn regex step by step
Regex Tutorial
Guide
Start with literal text
Regex Tutorial
Guide
Use character classes for flexibility
Regex Tutorial
Guide
Add quantifiers to repeat patterns
Regex Tutorial
Guide
Use groups to organize your regex
Regex Tutorial
Guide
Test regex patterns often
Regex Tutorial
Guide
Common beginner mistakes
Regex Tutorial
Guide
What is a lookbehind assertion?
JavaScript Lookbehind
Guide
Positive vs negative lookbehind
JavaScript Lookbehind
Guide
Why use lookbehind in JavaScript?
JavaScript Lookbehind
Guide
Common lookbehind use cases
JavaScript Lookbehind
Guide
Browser compatibility considerations
JavaScript Lookbehind
Guide
Lookbehind vs capturing groups
JavaScript Lookbehind
Guide
When not to use lookbehind
JavaScript Lookbehind
Guide
What is PCRE?
JavaScript Regex vs PCRE
Guide
Why do regex engines behave differently?
JavaScript Regex vs PCRE
Guide
JavaScript regex vs PCRE
JavaScript Regex vs PCRE
Guide
Lookbehind and modern regex features
JavaScript Regex vs PCRE
Guide
Unicode support differences
JavaScript Regex vs PCRE
Guide
Why does a regex work in a testing tool but not in my code?
JavaScript Regex vs PCRE
Guide
Which regex engine should you learn?
JavaScript Regex vs PCRE
Guide
Networking
Example 11
Simple IPv4
IP Address Regex
Example
Strict IPv4
IP Address Regex
Example
Private IPv4 ranges
IP Address Regex
Example
IPv4 with CIDR
IP Address Regex
Example
Basic IPv6
IP Address Regex
Example
Simple domain name
Domain Name Regex
Example
Domain with subdomains
Domain Name Regex
Example
Strict domain labels
Domain Name Regex
Example
Lowercase domain name
Domain Name Regex
Example
Domain with optional trailing dot
Domain Name Regex
Example
Punycode domain
Domain Name Regex
Example
Guide 13
Why validate IP addresses with regex?
IP Address Regex
Guide
IPv4 vs IPv6
IP Address Regex
Guide
What makes IPv6 validation difficult?
IP Address Regex
Guide
CIDR notation explained
IP Address Regex
Guide
Private vs public IP addresses
IP Address Regex
Guide
Can regex verify that an IP address exists?
IP Address Regex
Guide
When to use IP address regex validation
IP Address Regex
Guide
What is a domain name?
Domain Name Regex
Guide
Domain name vs URL
Domain Name Regex
Guide
Subdomains and labels
Domain Name Regex
Guide
Common domain validation mistakes
Domain Name Regex
Guide
Can regex verify that a domain exists?
Domain Name Regex
Guide
Internationalized domain names
Domain Name Regex
Guide
Reference
Page 1
Concept 5
Guide 7
What is a regex cheatsheet?
Regex Cheatsheet
Guide
The most important regex tokens to know
Regex Cheatsheet
Guide
Character classes explained
Regex Cheatsheet
Guide
Understanding regex quantifiers
Regex Cheatsheet
Guide
Groups, alternation and anchors
Regex Cheatsheet
Guide
Regex syntax differences between languages
Regex Cheatsheet
Guide
How to learn regex efficiently
Regex Cheatsheet
Guide
Regex Engine
Concept 3
Guide 7
What is PCRE?
JavaScript Regex vs PCRE
Guide
Why do regex engines behave differently?
JavaScript Regex vs PCRE
Guide
JavaScript regex vs PCRE
JavaScript Regex vs PCRE
Guide
Lookbehind and modern regex features
JavaScript Regex vs PCRE
Guide
Unicode support differences
JavaScript Regex vs PCRE
Guide
Why does a regex work in a testing tool but not in my code?
JavaScript Regex vs PCRE
Guide
Which regex engine should you learn?
JavaScript Regex vs PCRE
Guide
Security
Page 1
Example 4
Guide 7
Why validate passwords with regex?
Password Regex
Guide
Common password requirements
Password Regex
Guide
Strong passwords vs complex passwords
Password Regex
Guide
Can regex measure password strength?
Password Regex
Guide
Client-side and server-side validation
Password Regex
Guide
Common password validation mistakes
Password Regex
Guide
Modern password recommendations
Password Regex
Guide
SEO
Page 1
Example 5
Telecommunications
Page 1
Example 5
Guide 7
Why validate phone numbers with regex?
Phone Number Regex
Guide
What is the E.164 phone number format?
Phone Number Regex
Guide
International phone numbers are difficult to validate
Phone Number Regex
Guide
Mobile numbers vs landline numbers
Phone Number Regex
Guide
Formatting and user-friendly input with spaces, parentheses, dashes and other
Phone Number Regex
Guide
Can regex verify a real phone number?
Phone Number Regex
Guide
Best practices for phone number validation
Phone Number Regex
Guide
Tutorial
Page 1
Concept 4
Guide 7
How to learn regex step by step
Regex Tutorial
Guide
Start with literal text
Regex Tutorial
Guide
Use character classes for flexibility
Regex Tutorial
Guide
Add quantifiers to repeat patterns
Regex Tutorial
Guide
Use groups to organize your regex
Regex Tutorial
Guide
Test regex patterns often
Regex Tutorial
Guide
Common beginner mistakes
Regex Tutorial
Guide
Validation
Page 11
Example 50
Minimum 8 characters
Password Regex
Example
Letters and numbers
Password Regex
Example
Strong password
Password Regex
Example
Strong password (12+ chars)
Password Regex
Example
Simple email regex
Email Regex
Example
More restrictive email regex
Email Regex
Example
Simple URL regex
URL Regex
Example
HTTPS-only URL regex
URL Regex
Example
Simple phone number
Phone Number Regex
Example
E.164 international format
Phone Number Regex
Example
French mobile number
Phone Number Regex
Example
US phone number
Phone Number Regex
Example
Mobile numbers only
Phone Number Regex
Example
Letters and numbers
Username Regex
Example
Letters, numbers and underscore
Username Regex
Example
Username with length limit
Username Regex
Example
Lowercase username
Username Regex
Example
Username with hyphen
Username Regex
Example
International username
Username Regex
Example
DD/MM/YYYY
Date Regex
Example
DD-MM-YYYY
Date Regex
Example
ISO date
Date Regex
Example
ISO datetime
Date Regex
Example
Stricter DD/MM/YYYY
Date Regex
Example
Simple IPv4
IP Address Regex
Example
Strict IPv4
IP Address Regex
Example
Private IPv4 ranges
IP Address Regex
Example
IPv4 with CIDR
IP Address Regex
Example
Basic IPv6
IP Address Regex
Example
Standard UUID
UUID Regex
Example
UUID v4
UUID Regex
Example
UUID v1 to v5
UUID Regex
Example
UUID without hyphens
UUID Regex
Example
Short hex color
Hex Color Regex
Example
Long hex color
Hex Color Regex
Example
Short or long hex color
Hex Color Regex
Example
Hex color with alpha
Hex Color Regex
Example
Any CSS hex color
Hex Color Regex
Example
Hex color without #
Hex Color Regex
Example
Simple domain name
Domain Name Regex
Example
Domain with subdomains
Domain Name Regex
Example
Strict domain labels
Domain Name Regex
Example
Lowercase domain name
Domain Name Regex
Example
Domain with optional trailing dot
Domain Name Regex
Example
Punycode domain
Domain Name Regex
Example
Basic slug
Slug Regex
Example
SEO-friendly slug
Slug Regex
Example
Slug with underscores
Slug Regex
Example
Fixed-length slug
Slug Regex
Example
Unicode slug
Slug Regex
Example
Guide 65
Why validate passwords with regex?
Password Regex
Guide
Common password requirements
Password Regex
Guide
Strong passwords vs complex passwords
Password Regex
Guide
Can regex measure password strength?
Password Regex
Guide
Client-side and server-side validation
Password Regex
Guide
Common password validation mistakes
Password Regex
Guide
Modern password recommendations
Password Regex
Guide
Why use an email regex?
Email Regex
Guide
What makes email validation difficult?
Email Regex
Guide
Common email validation rules
Email Regex
Guide
Regex validation vs real email verification
Email Regex
Guide
Should you use a strict or simple email regex?
Email Regex
Guide
Why use a URL regex?
URL Regex
Guide
What is a valid URL?
URL Regex
Guide
HTTP vs HTTPS URL validation
URL Regex
Guide
Should a regex validate URLs completely?
URL Regex
Guide
Common URL validation mistakes
URL Regex
Guide
When to use URL regex validation
URL Regex
Guide
Why validate phone numbers with regex?
Phone Number Regex
Guide
What is the E.164 phone number format?
Phone Number Regex
Guide
International phone numbers are difficult to validate
Phone Number Regex
Guide
Mobile numbers vs landline numbers
Phone Number Regex
Guide
Formatting and user-friendly input with spaces, parentheses, dashes and other
Phone Number Regex
Guide
Can regex verify a real phone number?
Phone Number Regex
Guide
Best practices for phone number validation
Phone Number Regex
Guide
What is a username regex?
Username Regex
Guide
Common username validation rules
Username Regex
Guide
ASCII usernames vs Unicode usernames
Username Regex
Guide
What regex cannot validate
Username Regex
Guide
Why validate dates with regex?
Date Regex
Guide
Common date formats
Date Regex
Guide
ISO 8601 date validation
Date Regex
Guide
Can regex validate real calendar dates?
Date Regex
Guide
Date format validation vs date parsing
Date Regex
Guide
Common date validation mistakes
Date Regex
Guide
When to use a date regex
Date Regex
Guide
Why validate IP addresses with regex?
IP Address Regex
Guide
IPv4 vs IPv6
IP Address Regex
Guide
What makes IPv6 validation difficult?
IP Address Regex
Guide
CIDR notation explained
IP Address Regex
Guide
Private vs public IP addresses
IP Address Regex
Guide
Can regex verify that an IP address exists?
IP Address Regex
Guide
When to use IP address regex validation
IP Address Regex
Guide
What is a UUID?
UUID Regex
Guide
Common UUID format
UUID Regex
Guide
UUID versions
UUID Regex
Guide
Can regex verify UUID uniqueness?
UUID Regex
Guide
When to use a UUID regex
UUID Regex
Guide
What is a hex color?
Hex Color Regex
Guide
Short vs long hex colors
Hex Color Regex
Guide
Hex colors with alpha transparency
Hex Color Regex
Guide
Common hex color validation mistakes
Hex Color Regex
Guide
When to use a hex color regex
Hex Color Regex
Guide
What is a domain name?
Domain Name Regex
Guide
Domain name vs URL
Domain Name Regex
Guide
Subdomains and labels
Domain Name Regex
Guide
Common domain validation mistakes
Domain Name Regex
Guide
Can regex verify that a domain exists?
Domain Name Regex
Guide
Internationalized domain names
Domain Name Regex
Guide
What is a slug?
Slug Regex
Guide
Why are slugs important for SEO?
Slug Regex
Guide
Common slug rules
Slug Regex
Guide
Slug validation vs slug generation
Slug Regex
Guide
Unicode slugs and international websites
Slug Regex
Guide
When to use a slug regex
Slug Regex
Guide
Web Development
Example 19
Simple URL regex
URL Regex
Example
HTTPS-only URL regex
URL Regex
Example
Short hex color
Hex Color Regex
Example
Long hex color
Hex Color Regex
Example
Short or long hex color
Hex Color Regex
Example
Hex color with alpha
Hex Color Regex
Example
Any CSS hex color
Hex Color Regex
Example
Hex color without #
Hex Color Regex
Example
Simple domain name
Domain Name Regex
Example
Domain with subdomains
Domain Name Regex
Example
Strict domain labels
Domain Name Regex
Example
Lowercase domain name
Domain Name Regex
Example
Domain with optional trailing dot
Domain Name Regex
Example
Punycode domain
Domain Name Regex
Example
Basic slug
Slug Regex
Example
SEO-friendly slug
Slug Regex
Example
Slug with underscores
Slug Regex
Example
Fixed-length slug
Slug Regex
Example
Unicode slug
Slug Regex
Example
Guide 23
Why use a URL regex?
URL Regex
Guide
What is a valid URL?
URL Regex
Guide
HTTP vs HTTPS URL validation
URL Regex
Guide
Should a regex validate URLs completely?
URL Regex
Guide
Common URL validation mistakes
URL Regex
Guide
When to use URL regex validation
URL Regex
Guide
What is a hex color?
Hex Color Regex
Guide
Short vs long hex colors
Hex Color Regex
Guide
Hex colors with alpha transparency
Hex Color Regex
Guide
Common hex color validation mistakes
Hex Color Regex
Guide
When to use a hex color regex
Hex Color Regex
Guide
What is a domain name?
Domain Name Regex
Guide
Domain name vs URL
Domain Name Regex
Guide
Subdomains and labels
Domain Name Regex
Guide
Common domain validation mistakes
Domain Name Regex
Guide
Can regex verify that a domain exists?
Domain Name Regex
Guide
Internationalized domain names
Domain Name Regex
Guide
What is a slug?
Slug Regex
Guide
Why are slugs important for SEO?
Slug Regex
Guide
Common slug rules
Slug Regex
Guide
Slug validation vs slug generation
Slug Regex
Guide
Unicode slugs and international websites
Slug Regex
Guide
When to use a slug regex
Slug Regex
Guide
Browse by tag
account
Page 1
Example 6
Alpha Channel
Alternation (|)
Anchors
Page 1
Concept 5
Guide 7
What is a regex cheatsheet?
Regex Cheatsheet
Guide
The most important regex tokens to know
Regex Cheatsheet
Guide
Character classes explained
Regex Cheatsheet
Guide
Understanding regex quantifiers
Regex Cheatsheet
Guide
Groups, alternation and anchors
Regex Cheatsheet
Guide
Regex syntax differences between languages
Regex Cheatsheet
Guide
How to learn regex efficiently
Regex Cheatsheet
Guide
API
Page 1
Example 4
ASCII
Assertion (^ $ \b)
Page 1
Concept 3
Guide 7
What is a lookbehind assertion?
JavaScript Lookbehind
Guide
Positive vs negative lookbehind
JavaScript Lookbehind
Guide
Why use lookbehind in JavaScript?
JavaScript Lookbehind
Guide
Common lookbehind use cases
JavaScript Lookbehind
Guide
Browser compatibility considerations
JavaScript Lookbehind
Guide
Lookbehind vs capturing groups
JavaScript Lookbehind
Guide
When not to use lookbehind
JavaScript Lookbehind
Guide
Authentication
Page 1
Example 4
Guide 7
Why validate passwords with regex?
Password Regex
Guide
Common password requirements
Password Regex
Guide
Strong passwords vs complex passwords
Password Regex
Guide
Can regex measure password strength?
Password Regex
Guide
Client-side and server-side validation
Password Regex
Guide
Common password validation mistakes
Password Regex
Guide
Modern password recommendations
Password Regex
Guide
Basics / Beginner
Page 1
Concept 4
Guide 7
How to learn regex step by step
Regex Tutorial
Guide
Start with literal text
Regex Tutorial
Guide
Use character classes for flexibility
Regex Tutorial
Guide
Add quantifiers to repeat patterns
Regex Tutorial
Guide
Use groups to organize your regex
Regex Tutorial
Guide
Test regex patterns often
Regex Tutorial
Guide
Common beginner mistakes
Regex Tutorial
Guide
boundaries
Browser
Calendar
Page 1
Example 5
Guide 7
Why validate dates with regex?
Date Regex
Guide
Common date formats
Date Regex
Guide
ISO 8601 date validation
Date Regex
Guide
Can regex validate real calendar dates?
Date Regex
Guide
Date format validation vs date parsing
Date Regex
Guide
Common date validation mistakes
Date Regex
Guide
When to use a date regex
Date Regex
Guide
Capturing
Character Classes
characters
cheatsheet
Page 1
Concept 5
Guide 7
What is a regex cheatsheet?
Regex Cheatsheet
Guide
The most important regex tokens to know
Regex Cheatsheet
Guide
Character classes explained
Regex Cheatsheet
Guide
Understanding regex quantifiers
Regex Cheatsheet
Guide
Groups, alternation and anchors
Regex Cheatsheet
Guide
Regex syntax differences between languages
Regex Cheatsheet
Guide
How to learn regex efficiently
Regex Cheatsheet
Guide
CIDR
Page 1
Example 5
Guide 7
Why validate IP addresses with regex?
IP Address Regex
Guide
IPv4 vs IPv6
IP Address Regex
Guide
What makes IPv6 validation difficult?
IP Address Regex
Guide
CIDR notation explained
IP Address Regex
Guide
Private vs public IP addresses
IP Address Regex
Guide
Can regex verify that an IP address exists?
IP Address Regex
Guide
When to use IP address regex validation
IP Address Regex
Guide
classes
CMS
Page 1
Example 5
Compatibility
Concept 6
Positive lookbehind
JavaScript Lookbehind
Concept
Negative lookbehind
JavaScript Lookbehind
Concept
Compatibility
JavaScript Lookbehind
Concept
Common features
JavaScript Regex vs PCRE
Concept
PCRE-specific strengths
JavaScript Regex vs PCRE
Concept
JavaScript-specific behavior
JavaScript Regex vs PCRE
Concept
Guide 14
What is a lookbehind assertion?
JavaScript Lookbehind
Guide
Positive vs negative lookbehind
JavaScript Lookbehind
Guide
Why use lookbehind in JavaScript?
JavaScript Lookbehind
Guide
Common lookbehind use cases
JavaScript Lookbehind
Guide
Browser compatibility considerations
JavaScript Lookbehind
Guide
Lookbehind vs capturing groups
JavaScript Lookbehind
Guide
When not to use lookbehind
JavaScript Lookbehind
Guide
What is PCRE?
JavaScript Regex vs PCRE
Guide
Why do regex engines behave differently?
JavaScript Regex vs PCRE
Guide
JavaScript regex vs PCRE
JavaScript Regex vs PCRE
Guide
Lookbehind and modern regex features
JavaScript Regex vs PCRE
Guide
Unicode support differences
JavaScript Regex vs PCRE
Guide
Why does a regex work in a testing tool but not in my code?
JavaScript Regex vs PCRE
Guide
Which regex engine should you learn?
JavaScript Regex vs PCRE
Guide
content
Page 1
Example 5
CSS
Page 1
Example 6
Data Validation
Page 1
Example 7
Guide 14
Common username validation rules
Username Regex
Guide
What regex cannot validate
Username Regex
Guide
Why validate dates with regex?
Date Regex
Guide
Common date formats
Date Regex
Guide
ISO 8601 date validation
Date Regex
Guide
Can regex validate real calendar dates?
Date Regex
Guide
Date format validation vs date parsing
Date Regex
Guide
Common date validation mistakes
Date Regex
Guide
When to use a date regex
Date Regex
Guide
Why validate IP addresses with regex?
IP Address Regex
Guide
When to use IP address regex validation
IP Address Regex
Guide
Common hex color validation mistakes
Hex Color Regex
Guide
Common domain validation mistakes
Domain Name Regex
Guide
Slug validation vs slug generation
Slug Regex
Guide
Database
Page 1
Example 4
Date
Page 1
Example 5
Guide 7
Why validate dates with regex?
Date Regex
Guide
Common date formats
Date Regex
Guide
ISO 8601 date validation
Date Regex
Guide
Can regex validate real calendar dates?
Date Regex
Guide
Date format validation vs date parsing
Date Regex
Guide
Common date validation mistakes
Date Regex
Guide
When to use a date regex
Date Regex
Guide
design system
Page 1
Example 6
DNS
Page 1
Example 6
Guide 6
What is a domain name?
Domain Name Regex
Guide
Domain name vs URL
Domain Name Regex
Guide
Subdomains and labels
Domain Name Regex
Guide
Common domain validation mistakes
Domain Name Regex
Guide
Can regex verify that a domain exists?
Domain Name Regex
Guide
Internationalized domain names
Domain Name Regex
Guide
Domain
Page 1
Example 6
Guide 6
What is a domain name?
Domain Name Regex
Guide
Domain name vs URL
Domain Name Regex
Guide
Subdomains and labels
Domain Name Regex
Guide
Common domain validation mistakes
Domain Name Regex
Guide
Can regex verify that a domain exists?
Domain Name Regex
Guide
Internationalized domain names
Domain Name Regex
Guide
E.164
Page 1
Example 5
Guide 7
Why validate phone numbers with regex?
Phone Number Regex
Guide
What is the E.164 phone number format?
Phone Number Regex
Guide
International phone numbers are difficult to validate
Phone Number Regex
Guide
Mobile numbers vs landline numbers
Phone Number Regex
Guide
Formatting and user-friendly input with spaces, parentheses, dashes and other
Phone Number Regex
Guide
Can regex verify a real phone number?
Phone Number Regex
Guide
Best practices for phone number validation
Phone Number Regex
Guide
Page 1
frontend
Page 1
Example 6
groups
Page 1
Concept 5
Guide 9
What is a regex cheatsheet?
Regex Cheatsheet
Guide
The most important regex tokens to know
Regex Cheatsheet
Guide
Character classes explained
Regex Cheatsheet
Guide
Understanding regex quantifiers
Regex Cheatsheet
Guide
Groups, alternation and anchors
Regex Cheatsheet
Guide
Regex syntax differences between languages
Regex Cheatsheet
Guide
How to learn regex efficiently
Regex Cheatsheet
Guide
Use groups to organize your regex
Regex Tutorial
Guide
Lookbehind vs capturing groups
JavaScript Lookbehind
Guide
HEX Color
Page 1
Example 6
Identifier
Page 1
Example 4
Input Validation
Example 17
Minimum 8 characters
Password Regex
Example
Letters and numbers
Password Regex
Example
Strong password
Password Regex
Example
Strong password (12+ chars)
Password Regex
Example
Simple email regex
Email Regex
Example
More restrictive email regex
Email Regex
Example
Simple phone number
Phone Number Regex
Example
E.164 international format
Phone Number Regex
Example
French mobile number
Phone Number Regex
Example
US phone number
Phone Number Regex
Example
Mobile numbers only
Phone Number Regex
Example
Letters and numbers
Username Regex
Example
Letters, numbers and underscore
Username Regex
Example
Username with length limit
Username Regex
Example
Lowercase username
Username Regex
Example
Username with hyphen
Username Regex
Example
International username
Username Regex
Example
Guide 23
Why validate passwords with regex?
Password Regex
Guide
Common password requirements
Password Regex
Guide
Strong passwords vs complex passwords
Password Regex
Guide
Can regex measure password strength?
Password Regex
Guide
Client-side and server-side validation
Password Regex
Guide
Common password validation mistakes
Password Regex
Guide
Modern password recommendations
Password Regex
Guide
Why use an email regex?
Email Regex
Guide
What makes email validation difficult?
Email Regex
Guide
Common email validation rules
Email Regex
Guide
Regex validation vs real email verification
Email Regex
Guide
Should you use a strict or simple email regex?
Email Regex
Guide
Why validate phone numbers with regex?
Phone Number Regex
Guide
What is the E.164 phone number format?
Phone Number Regex
Guide
International phone numbers are difficult to validate
Phone Number Regex
Guide
Mobile numbers vs landline numbers
Phone Number Regex
Guide
Formatting and user-friendly input with spaces, parentheses, dashes and other
Phone Number Regex
Guide
Can regex verify a real phone number?
Phone Number Regex
Guide
Best practices for phone number validation
Phone Number Regex
Guide
What is a username regex?
Username Regex
Guide
Common username validation rules
Username Regex
Guide
ASCII usernames vs Unicode usernames
Username Regex
Guide
What regex cannot validate
Username Regex
Guide
International
Page 1
Example 6
Guide 9
Why validate phone numbers with regex?
Phone Number Regex
Guide
What is the E.164 phone number format?
Phone Number Regex
Guide
International phone numbers are difficult to validate
Phone Number Regex
Guide
Mobile numbers vs landline numbers
Phone Number Regex
Guide
Formatting and user-friendly input with spaces, parentheses, dashes and other
Phone Number Regex
Guide
Can regex verify a real phone number?
Phone Number Regex
Guide
Best practices for phone number validation
Phone Number Regex
Guide
Internationalized domain names
Domain Name Regex
Guide
Unicode slugs and international websites
Slug Regex
Guide
IP Address
Page 1
Example 5
Guide 7
Why validate IP addresses with regex?
IP Address Regex
Guide
IPv4 vs IPv6
IP Address Regex
Guide
What makes IPv6 validation difficult?
IP Address Regex
Guide
CIDR notation explained
IP Address Regex
Guide
Private vs public IP addresses
IP Address Regex
Guide
Can regex verify that an IP address exists?
IP Address Regex
Guide
When to use IP address regex validation
IP Address Regex
Guide
ISO-8601
Page 1
Example 5
Guide 7
Why validate dates with regex?
Date Regex
Guide
Common date formats
Date Regex
Guide
ISO 8601 date validation
Date Regex
Guide
Can regex validate real calendar dates?
Date Regex
Guide
Date format validation vs date parsing
Date Regex
Guide
Common date validation mistakes
Date Regex
Guide
When to use a date regex
Date Regex
Guide
Javascript
Concept 6
Positive lookbehind
JavaScript Lookbehind
Concept
Negative lookbehind
JavaScript Lookbehind
Concept
Compatibility
JavaScript Lookbehind
Concept
Common features
JavaScript Regex vs PCRE
Concept
PCRE-specific strengths
JavaScript Regex vs PCRE
Concept
JavaScript-specific behavior
JavaScript Regex vs PCRE
Concept
Guide 14
What is a lookbehind assertion?
JavaScript Lookbehind
Guide
Positive vs negative lookbehind
JavaScript Lookbehind
Guide
Why use lookbehind in JavaScript?
JavaScript Lookbehind
Guide
Common lookbehind use cases
JavaScript Lookbehind
Guide
Browser compatibility considerations
JavaScript Lookbehind
Guide
Lookbehind vs capturing groups
JavaScript Lookbehind
Guide
When not to use lookbehind
JavaScript Lookbehind
Guide
What is PCRE?
JavaScript Regex vs PCRE
Guide
Why do regex engines behave differently?
JavaScript Regex vs PCRE
Guide
JavaScript regex vs PCRE
JavaScript Regex vs PCRE
Guide
Lookbehind and modern regex features
JavaScript Regex vs PCRE
Guide
Unicode support differences
JavaScript Regex vs PCRE
Guide
Why does a regex work in a testing tool but not in my code?
JavaScript Regex vs PCRE
Guide
Which regex engine should you learn?
JavaScript Regex vs PCRE
Guide
Learn Regex
Page 1
Concept 4
Guide 7
How to learn regex step by step
Regex Tutorial
Guide
Start with literal text
Regex Tutorial
Guide
Use character classes for flexibility
Regex Tutorial
Guide
Add quantifiers to repeat patterns
Regex Tutorial
Guide
Use groups to organize your regex
Regex Tutorial
Guide
Test regex patterns often
Regex Tutorial
Guide
Common beginner mistakes
Regex Tutorial
Guide
Length
limit
Login
Page 1
Example 4
Guide 7
Why validate passwords with regex?
Password Regex
Guide
Common password requirements
Password Regex
Guide
Strong passwords vs complex passwords
Password Regex
Guide
Can regex measure password strength?
Password Regex
Guide
Client-side and server-side validation
Password Regex
Guide
Common password validation mistakes
Password Regex
Guide
Modern password recommendations
Password Regex
Guide
Logs
Page 1
Example 4
lookarounds
Concept 1
Lookbehind (?<=...)
Page 1
Concept 3
Guide 8
What is a lookbehind assertion?
JavaScript Lookbehind
Guide
Positive vs negative lookbehind
JavaScript Lookbehind
Guide
Why use lookbehind in JavaScript?
JavaScript Lookbehind
Guide
Common lookbehind use cases
JavaScript Lookbehind
Guide
Browser compatibility considerations
JavaScript Lookbehind
Guide
Lookbehind vs capturing groups
JavaScript Lookbehind
Guide
When not to use lookbehind
JavaScript Lookbehind
Guide
Lookbehind and modern regex features
JavaScript Regex vs PCRE
Guide
Mobile Phone
Page 1
Example 5
Guide 7
Why validate phone numbers with regex?
Phone Number Regex
Guide
What is the E.164 phone number format?
Phone Number Regex
Guide
International phone numbers are difficult to validate
Phone Number Regex
Guide
Mobile numbers vs landline numbers
Phone Number Regex
Guide
Formatting and user-friendly input with spaces, parentheses, dashes and other
Phone Number Regex
Guide
Can regex verify a real phone number?
Phone Number Regex
Guide
Best practices for phone number validation
Phone Number Regex
Guide
negative lookbehind
Networking
Page 1
Example 5
Guide 7
Why validate IP addresses with regex?
IP Address Regex
Guide
IPv4 vs IPv6
IP Address Regex
Guide
What makes IPv6 validation difficult?
IP Address Regex
Guide
CIDR notation explained
IP Address Regex
Guide
Private vs public IP addresses
IP Address Regex
Guide
Can regex verify that an IP address exists?
IP Address Regex
Guide
When to use IP address regex validation
IP Address Regex
Guide
password
Page 1
Example 4
Guide 7
Why validate passwords with regex?
Password Regex
Guide
Common password requirements
Password Regex
Guide
Strong passwords vs complex passwords
Password Regex
Guide
Can regex measure password strength?
Password Regex
Guide
Client-side and server-side validation
Password Regex
Guide
Common password validation mistakes
Password Regex
Guide
Modern password recommendations
Password Regex
Guide
PCRE
Concept 3
Guide 7
What is PCRE?
JavaScript Regex vs PCRE
Guide
Why do regex engines behave differently?
JavaScript Regex vs PCRE
Guide
JavaScript regex vs PCRE
JavaScript Regex vs PCRE
Guide
Lookbehind and modern regex features
JavaScript Regex vs PCRE
Guide
Unicode support differences
JavaScript Regex vs PCRE
Guide
Why does a regex work in a testing tool but not in my code?
JavaScript Regex vs PCRE
Guide
Which regex engine should you learn?
JavaScript Regex vs PCRE
Guide
Phone Number
Page 1
Example 5
Guide 7
Why validate phone numbers with regex?
Phone Number Regex
Guide
What is the E.164 phone number format?
Phone Number Regex
Guide
International phone numbers are difficult to validate
Phone Number Regex
Guide
Mobile numbers vs landline numbers
Phone Number Regex
Guide
Formatting and user-friendly input with spaces, parentheses, dashes and other
Phone Number Regex
Guide
Can regex verify a real phone number?
Phone Number Regex
Guide
Best practices for phone number validation
Phone Number Regex
Guide
positive lookbehind
Private network
Profile
Page 1
Example 6
Punycode
Page 1
Example 6
Guide 6
What is a domain name?
Domain Name Regex
Guide
Domain name vs URL
Domain Name Regex
Guide
Subdomains and labels
Domain Name Regex
Guide
Common domain validation mistakes
Domain Name Regex
Guide
Can regex verify that a domain exists?
Domain Name Regex
Guide
Internationalized domain names
Domain Name Regex
Guide
Quantifiers (* + ?)
Page 1
Concept 5
Guide 8
What is a regex cheatsheet?
Regex Cheatsheet
Guide
The most important regex tokens to know
Regex Cheatsheet
Guide
Character classes explained
Regex Cheatsheet
Guide
Understanding regex quantifiers
Regex Cheatsheet
Guide
Groups, alternation and anchors
Regex Cheatsheet
Guide
Regex syntax differences between languages
Regex Cheatsheet
Guide
How to learn regex efficiently
Regex Cheatsheet
Guide
Add quantifiers to repeat patterns
Regex Tutorial
Guide
Regex Engines
Concept 3
Guide 8
Regex syntax differences between languages
Regex Cheatsheet
Guide
What is PCRE?
JavaScript Regex vs PCRE
Guide
Why do regex engines behave differently?
JavaScript Regex vs PCRE
Guide
JavaScript regex vs PCRE
JavaScript Regex vs PCRE
Guide
Lookbehind and modern regex features
JavaScript Regex vs PCRE
Guide
Unicode support differences
JavaScript Regex vs PCRE
Guide
Why does a regex work in a testing tool but not in my code?
JavaScript Regex vs PCRE
Guide
Which regex engine should you learn?
JavaScript Regex vs PCRE
Guide
Repetition
Concept 1
restrictive
security
Page 1
Example 4
Guide 7
Why validate passwords with regex?
Password Regex
Guide
Common password requirements
Password Regex
Guide
Strong passwords vs complex passwords
Password Regex
Guide
Can regex measure password strength?
Password Regex
Guide
Client-side and server-side validation
Password Regex
Guide
Common password validation mistakes
Password Regex
Guide
Modern password recommendations
Password Regex
Guide
seo
Page 1
Example 5
simple pattern
slug
Page 1
Example 5
Strict Validation
subdomain
Page 1
Example 6
Guide 6
What is a domain name?
Domain Name Regex
Guide
Domain name vs URL
Domain Name Regex
Guide
Subdomains and labels
Domain Name Regex
Guide
Common domain validation mistakes
Domain Name Regex
Guide
Can regex verify that a domain exists?
Domain Name Regex
Guide
Internationalized domain names
Domain Name Regex
Guide
Sub-Domains
syntax
Page 1
Concept 5
Guide 7
What is a regex cheatsheet?
Regex Cheatsheet
Guide
The most important regex tokens to know
Regex Cheatsheet
Guide
Character classes explained
Regex Cheatsheet
Guide
Understanding regex quantifiers
Regex Cheatsheet
Guide
Groups, alternation and anchors
Regex Cheatsheet
Guide
Regex syntax differences between languages
Regex Cheatsheet
Guide
How to learn regex efficiently
Regex Cheatsheet
Guide
Timestamps
Page 1
Example 5
Guide 7
Why validate dates with regex?
Date Regex
Guide
Common date formats
Date Regex
Guide
ISO 8601 date validation
Date Regex
Guide
Can regex validate real calendar dates?
Date Regex
Guide
Date format validation vs date parsing
Date Regex
Guide
Common date validation mistakes
Date Regex
Guide
When to use a date regex
Date Regex
Guide
TLD
Page 1
Example 6
Guide 6
What is a domain name?
Domain Name Regex
Guide
Domain name vs URL
Domain Name Regex
Guide
Subdomains and labels
Domain Name Regex
Guide
Common domain validation mistakes
Domain Name Regex
Guide
Can regex verify that a domain exists?
Domain Name Regex
Guide
Internationalized domain names
Domain Name Regex
Guide
tokens
Page 1
Concept 5
Guide 7
What is a regex cheatsheet?
Regex Cheatsheet
Guide
The most important regex tokens to know
Regex Cheatsheet
Guide
Character classes explained
Regex Cheatsheet
Guide
Understanding regex quantifiers
Regex Cheatsheet
Guide
Groups, alternation and anchors
Regex Cheatsheet
Guide
Regex syntax differences between languages
Regex Cheatsheet
Guide
How to learn regex efficiently
Regex Cheatsheet
Guide
tutorial
Page 1
Concept 4
Guide 7
How to learn regex step by step
Regex Tutorial
Guide
Start with literal text
Regex Tutorial
Guide
Use character classes for flexibility
Regex Tutorial
Guide
Add quantifiers to repeat patterns
Regex Tutorial
Guide
Use groups to organize your regex
Regex Tutorial
Guide
Test regex patterns often
Regex Tutorial
Guide
Common beginner mistakes
Regex Tutorial
Guide
Unicode
Example 7
Letters and numbers
Username Regex
Example
Letters, numbers and underscore
Username Regex
Example
Username with length limit
Username Regex
Example
Lowercase username
Username Regex
Example
Username with hyphen
Username Regex
Example
International username
Username Regex
Example
Unicode slug
Slug Regex
Example
Concept 3
Guide 12
What is a username regex?
Username Regex
Guide
Common username validation rules
Username Regex
Guide
ASCII usernames vs Unicode usernames
Username Regex
Guide
What regex cannot validate
Username Regex
Guide
Unicode slugs and international websites
Slug Regex
Guide
What is PCRE?
JavaScript Regex vs PCRE
Guide
Why do regex engines behave differently?
JavaScript Regex vs PCRE
Guide
JavaScript regex vs PCRE
JavaScript Regex vs PCRE
Guide
Lookbehind and modern regex features
JavaScript Regex vs PCRE
Guide
Unicode support differences
JavaScript Regex vs PCRE
Guide
Why does a regex work in a testing tool but not in my code?
JavaScript Regex vs PCRE
Guide
Which regex engine should you learn?
JavaScript Regex vs PCRE
Guide
URL-safe
Page 1
Example 5
username
Page 1
Example 6
UUID
Page 1
Example 8
validation
Guide 15
Why validate passwords with regex?
Password Regex
Guide
Client-side and server-side validation
Password Regex
Guide
Common password validation mistakes
Password Regex
Guide
What makes email validation difficult?
Email Regex
Guide
Common email validation rules
Email Regex
Guide
Regex validation vs real email verification
Email Regex
Guide
What is a valid URL?
URL Regex
Guide
HTTP vs HTTPS URL validation
URL Regex
Guide
Should a regex validate URLs completely?
URL Regex
Guide
Common URL validation mistakes
URL Regex
Guide
When to use URL regex validation
URL Regex
Guide
Why validate phone numbers with regex?
Phone Number Regex
Guide
International phone numbers are difficult to validate
Phone Number Regex
Guide
Can regex verify a real phone number?
Phone Number Regex
Guide
Best practices for phone number validation
Phone Number Regex
Guide
verification
Web - HTTP/HTTPS Links
Page 1
Guide 8
Why use a URL regex?
URL Regex
Guide
What is a valid URL?
URL Regex
Guide
HTTP vs HTTPS URL validation
URL Regex
Guide
Should a regex validate URLs completely?
URL Regex
Guide
Common URL validation mistakes
URL Regex
Guide
When to use URL regex validation
URL Regex
Guide
Domain name vs URL
Domain Name Regex
Guide
Unicode slugs and international websites
Slug Regex
Guide