Operation
Match
Replace
Split
🗑
Reset
Build regex
Import regex
↶
Undo
↷
Redo
Copy regex
Share URL
Export JSON
Import JSON
Save locally
🧩 Builder
⚙️ Settings
+ Block
Regex
Edit the raw regex directly, then use “Import regex” to rebuild the visual tree when possible.
Replacement
A complete platform to build, test and learn regex
CreateRegex brings together a visual regex builder, live tester, human explanations, practical examples, guides and a complete library to help you learn and master regular expressions.
The tool supports groups, quantifiers, character classes, lookaheads, lookbehinds, captures, alternatives, Unicode and many other advanced regex features. It also includes a live tester, diagnostics, interactive examples and compatibility checks for JavaScript, PHP/PCRE, Python, Java, .NET and Ruby.
Regex guides and examples library
Explore practical guides covering email regex, URL regex, lookbehind assertions, regex engine differences and a complete regex cheatsheet. Every example can be tested instantly or opened directly in the visual builder.
Password Regex
Validate password strength, length and security policies.
4 examples
Email Regex
Test and understand practical email patterns you can adapt.
16 examples
URL Regex
Validate or extract URLs with interactive examples.
2 examples
Phone Number Regex
Validate international, French, US and E.164 phone numbers.
5 examples
Username Regex
Validate usernames, handles, slugs and account names.
6 examples
Date Regex
Validate DD/MM/YYYY, ISO dates and timestamps.
5 examples
IP Address Regex
Validate IPv4, private IP ranges, CIDR notation and IPv6 basics.
5 examples
UUID Regex
Validate UUID v4, UUID v1-v5 and UUIDs without hyphens.
4 examples
Hex Color Regex
Validate CSS hex colors like #fff, #ffffff and alpha colors.
6 examples
Domain Name Regex
Validate domains, subdomains, TLDs and lowercase domain names.
6 examples
Slug Regex
Validate SEO-friendly slugs and URL-safe identifiers.
5 examples
Credit Card Regex
Validate credit card number formats and understand regex limitations.
15 examples
Regex Cheatsheet
Quickly find anchors, classes, groups and quantifiers.
5 examples
Regex Tutorial
Learn regular expressions step by step from the basics.
3 examples
Regex Limitations
Understand what regex can and cannot validate.
Guide
Testing Regex
Learn how to test regex patterns properly.
Guide
Regex Compatibility
Understand regex differences between engines and languages.
Guide
Regex Performance
Learn how to write fast and efficient regex patterns.
Guide
Input Validation Best Practices
Build reliable and secure input validation.
Guide
Common Regex Mistakes
Avoid the most common regex mistakes.
Guide
JavaScript Lookbehind
Understand lookahead, lookbehind and compatibility limits.
2 examples
JavaScript Regex vs PCRE
Compare regex engines, flags and feature support.
2 examples
Character Classes
Understand regex character classes and shortcuts.
10 examples
Quantifiers
Understand repetition and regex quantifiers.
8 examples
Groups
Understand regex groups and captures.
9 examples
Anchors
Understand regex anchors and boundaries.
8 examples
Alternation
Understand regex alternatives and OR logic.
8 examples
Lookarounds
Understand lookaheads and lookbehinds.
8 examples
Changelog
v4
Regex Library & Knowledge Base
Introduced the new Regex Library with automatic indexing of pages, examples, concepts and guides,
category and tag navigation, multilingual organization, improved content discovery and a unified
learning structure across the entire site.
v3
Learning Platform & Progressive Match Diagnostics
Introduced interactive regex guides, reusable mini playgrounds, Visual Builder integration, progressive match diagnostics,
human-readable regex explanations, improved educational content, enhanced SEO structure and expanded regex documentation.
v2
Visual Builder Foundation
Introduced the modern visual regex builder, improved layout, history management, block editing,
scrolling panels, diagnostics and overall usability improvements.
View detailed version history
v4 - Introduced the new Regex Library with automatic indexing of pages, examples, concepts and guides, category and tag navigation, multilingual taxonomy support, improved content discovery, and a cleaner content architecture for learning and exploring regex patterns.
v3.8 - Improved Visual Builder block insertion logic, introduced clearer block labels throughout the interface, refined guide navigation and layouts, and upgraded Split mode with real split results, separator match diagnostics and educational explanations.
v3.7 - Expanded the Regex Library with automated guide management, live category and example counters, improved internal navigation and linking, and new Date Regex and IP Address Regex guides covering practical date, timestamp, IPv4, IPv6 and CIDR validation patterns.
v3.6 - Added a comprehensive Phone Number Regex guide with international, E.164, French, US, and mobile validation examples, including interactive playgrounds and Visual Builder integration.
v3.5 - Major UX and SEO update: simplified the top bar, moved Regex Engine settings to the sidebar, added localized welcome examples, improved guide page layouts and test data, added regex flag tooltips, enhanced internal linking, and introduced a new Password Regex guide with live regex testing capabilities and Visual Builder integration.
v3.4 - Reworked Email and URL guide pages into multi-example regex cards with explanations, matches, limitations, mini regex playgrounds and direct Visual Builder links.
v3.3 - Added reusable mini regex playgrounds on guide pages to test example regex patterns live with highlighted matches.
v3.2 - Added “Open in Visual Builder” buttons on regex guide examples, allowing visitors to send example patterns directly into the main visual regex builder.
v3.1 - Merged progressive match diagnostics directly into the human explanation lines for a cleaner and more compact debugging experience.
v3 - Added progressive match diagnostics in the human explanation panel, showing which regex steps patterns match or fail against the test text.
v2.4 - Added Reset Regex button, compact Undo/Redo icons, contextual action history (Add/Delete/Edit/Import/Move), disabled-state handling and upcoming action previews.
v2.3 - Added independent vertical scrolling for the three main panels and collapsible stack sections.
v2.2 - Added subtle visual separation between sidebar stack sections.
v2.1 - Compact builder node actions: delete button moved to the node header, move/duplicate actions moved below the summary.
v2 - Improved visual builder layout, added version badge and changelog.