RegExpress Icon

RegExpress

Regex You Can Trust Before It Ships

iPhoneiPadMacDeveloper Tools
  • Five real regex targets: Swift Regex, NSRegularExpression, JavaScript, Python, and PCRE2.
  • New in v7: visual diagrams, configurable Quick Actions, Pro trials, and generated test suites.
  • Free to start, with a $4.99 one-time Pro upgrade and no subscription.
Download on App Store
5Regex Engines
20Free Saves
$4.99 oncePro Upgrade
iPhone, iPad, MacPlatforms

What's New in v7.0

Visual Regex Diagrams

Turn patterns into zoomable railroad-style diagrams with warnings and token details.

More Generous Free Tier

Save up to 20 patterns, keep 50 history items, use folders and search, and start with 3 tutorial modules for free.

One-Time Pro + Trials

Try several Pro tools before upgrading, with RegExpress Pro available as a $4.99 one-time purchase.

Configurable Quick Actions

Choose which shortcuts appear in the main toolbar, from Library and Reference to Builder, Debug, Compare, and Code.

Generated Test Suites

Create test cases from the current editor and open the generated suite for regression testing.

Themes and Simplified Chinese

Expanded theme support, refreshed app icons, clearer in-app guidance, and Simplified Chinese localization.

See It in Action

Live Regex Matching
Live Regex Matching
Inspect Every Match
Inspect Every Match
A Complete Regex Toolbox
A Complete Regex Toolbox
Visualize Complex Patterns
Visualize Complex Patterns
Save and Reuse Patterns
Save and Reuse Patterns
Build Regex Visually
Build Regex Visually
Debug Step by Step
Debug Step by Step
Compare Patterns Side by Side
Compare Patterns Side by Side
Build Regex Test Suites
Build Regex Test Suites
Learn as You Work
Learn as You Work

About RegExpress

RegExpress 7 is a native regex workbench for iPhone, iPad, and Mac. Test live, inspect captures, visualize diagrams, debug execution, compare patterns, build test suites, and export production-ready code across Swift, NSRegularExpression, JavaScript, Python, and PCRE2.

Regex mistakes are expensive because they hide in tiny details: a capture group in the wrong place, a flavor-specific flag, a pattern that works on toy data but slows down on production input. RegExpress gives you a focused workspace for testing those details before they reach your app, script, validator, import pipeline, or support tool.

Version 7 makes the app more visual and faster to use. New railroad-style diagrams turn dense patterns into readable structures, configurable Quick Actions keep your favorite tools in the main toolbar, and workspace test suite generation turns the pattern you are editing into reusable regression tests.

The free tier is now much more useful: live testing, folders, search, basic export, 20 saved patterns, 50 history items, and 3 tutorial modules. RegExpress Pro is a $4.99 one-time purchase that unlocks unlimited saves and history, iCloud sync, advanced tutorials, test suites, visual debugging, optimization, comparison, diagrams, code generation, and more.

RegExpress works offline for core testing and learning features, supports English, Spanish, Brazilian Portuguese, and Simplified Chinese, and keeps saved patterns tied to their selected regex flavor so you can return to Swift RegexBuilder, NSRegularExpression, JavaScript/ECMAScript, Python, or PCRE2 with the right behavior intact.

Core Features

Test Against the Engine You Ship

Run patterns live with the flavor your code actually uses: Swift RegexBuilder, NSRegularExpression, JavaScript/ECMAScript, Python, or PCRE2. Toggle case sensitivity, multiline, dotAll, Unicode, sticky behavior, verbose mode, and engine-specific options without leaving the workspace.

See Matches, Captures and Replacements

Highlighted matches, capture group details, positions, match navigation, search and replace previews, and saved flavor settings make it clear what the pattern is doing and what it will change.

Turn Dense Regex Into Something Readable

RegExpress 7 adds zoomable railroad-style diagrams alongside explanations, token breakdowns, examples, AST details, warnings, performance metrics, and catastrophic backtracking guidance.

Debug, Compare and Optimize Before You Commit

Use the visual debugger, token heatmap, profiler, optimizer, pattern comparison, pattern constructor, edge case generator, and regression test suites to catch fragile patterns before they become bugs.

Save the Patterns You Actually Reuse

Build a personal regex library with folders, favorites, notes, history, smart search, export, import, deep links, draft recovery, and optional iCloud sync. Your data stays on device unless you enable iCloud.

Learn Faster, Then Export Correct Code

Practice with tutorials, reference material, examples, daily puzzles, and Regex Golf, then generate ready-to-use snippets for Swift, JavaScript, Python, Java, C#, and Ruby with escaping handled for you.

Stop Shipping Regex Guesswork

Test, explain, diagram, debug, compare, save, and export regex patterns on iPhone, iPad, and Mac.

Download on App Store

Regex Tools & Workflows

Real-Time Pattern Tester

Live pattern matching with instant highlighting as you type — no Run button needed.

Visual Regex Diagrams

Zoomable railroad-style diagrams that make complex expressions easier to understand.

Swift Regex Engine

Native Swift Regex with RegexBuilder support and specialized handlers for emails, URLs, and phone numbers.

NSRegularExpression Engine

ICU-compatible regex engine with full Unicode support, anchors-match-lines, and dotMatchesLineSeparators.

JavaScript Engine

JavaScriptCore-powered engine with global, Unicode, sticky, dotAll, and multiline flags.

Python Engine

Python re module emulation with named groups, conditional patterns, ASCII-only, and locale-based matching.

PCRE2 Engine

Full PCRE2 support including recursive patterns, possessive quantifiers, and atomic groups.

Visual Step-by-Step Debugger

Walk through pattern execution token by token, seeing match attempts, backtracking, and state changes.

Performance Profiler

Execution timelines, memory usage tracking, and phase-level metrics for initialization, compilation, matching, and cleanup.

Token Performance Heatmap

Visual heatmap showing which tokens in your pattern consume the most execution time.

Backtracking Risk Analyzer

Real-time detection of catastrophic backtracking from nested quantifiers, wildcard quantifiers, and broad character classes.

Pattern Optimizer

Analyzes patterns for inefficiencies, shows before-and-after comparisons, and estimates improvement percentage.

AI Pattern Assistant

Generate regex from natural language descriptions with multiple pattern alternatives, confidence levels, and option recommendations.

Pattern Recommender

Analyzes your test text and suggests patterns for emails, URLs, dates, phone numbers, IPs, credit cards, and more.

Pattern Explainer

Breaks down any pattern into plain English with token-level analysis, AST visualization, and warning flags.

Code Generator — Swift

Generate production-ready Swift code using both RegexBuilder and NSRegularExpression syntax.

Code Generator — JavaScript

Generate JavaScript RegExp code with match, replace, and test methods.

Code Generator — Python

Generate Python re module code with proper escaping and usage examples.

Code Generator — Java

Generate Java Pattern/Matcher API code ready for your project.

Code Generator — C#

Generate .NET Regex code with C# syntax and proper string escaping.

Code Generator — Ruby

Generate Ruby Regex code with idiomatic Ruby syntax.

Test Suite

Create, organize, and batch-run test cases for your patterns with pass/fail reporting.

Edge Case Generator

Automatically generates boundary conditions, empty strings, Unicode edge cases, and pathological inputs to stress-test patterns.

Regression Test Runner

Run regression tests against saved patterns to catch breaking changes across edits.

Pattern Comparison

Diff two patterns side by side with structural awareness, match diffs, capture group analysis, and performance comparison.

Pattern Library

Save unlimited patterns with descriptions and tags. Organize into folders, mark favorites, and search your entire collection.

Pattern History & Versioning

Full change tracking for every saved pattern with debounced history and version audit trail.

Draft Recovery

Automatic draft saving that recovers unsaved work with a recovery prompt so you never lose a pattern.

Smart Pattern Naming

Auto-generates descriptive names for patterns based on pattern analysis.

Duplicate Detector

Identifies duplicate or near-duplicate patterns in your library to keep it clean.

Search & Replace Preview

Preview replacements with capture group references before executing them on your test text.

Capture Group Visualizer

Color-coded visualization of capture groups with nesting depth, named groups, and extracted values.

Interactive Tutorials

Structured curriculum from beginner fundamentals through advanced techniques with progress tracking.

Specialized Learning Paths

Focused tracks for web development, data validation, and text processing beyond the core curriculum.

Daily Puzzles

A new regex challenge every day with difficulty selection, streak tracking, and a points system.

Regex Golf

Write the shortest pattern that matches a target set with scoring, leaderboards, hints, and 4 difficulty levels across 9 categories.

Achievements System

Unlock achievements for milestones across testing, learning, and challenges with popup celebrations.

Regex Cheat Sheet

Quick-reference guide for regex syntax organized by flavor with tap-to-copy examples.

Reference Guide

Comprehensive regex reference with per-engine documentation, option explanations, and interactive examples.

Contextual Help Tips

20+ in-app help topics with popover explanations for every major feature.

Export — JSON, CSV, YAML, TOML

Export patterns and performance data in JSON, CSV, YAML, TOML, or plain text formats.

Bulk Import

Import patterns from JSON, CSV, YAML, TOML, plain text, or regex101/RegExr URLs.

Deep Links (regexpress://)

Create shareable URLs that open a specific pattern, sample text, and flavor directly in the app.

iCloud Sync

CloudKit sync for patterns, folders, favorites, history, tutorial progress, puzzle completions, and achievement stats.

Multi-Window (iPad & Mac)

Six secondary window types: Pattern Library, Playground, Reference Guide, Test Suite, Pattern Insights, and Achievements.

22 Keyboard Shortcuts

Full keyboard shortcut support on iPad and Mac for pattern operations, testing, views, and multi-window.

Customizable Quick Actions

Configure the quick actions bar with your most-used regex operations.

8 Color Themes

Choose from 8 syntax highlighting themes with dark and light mode support.

VoiceOver & Accessibility

Full VoiceOver support, dynamic text sizing, and high contrast mode (Cmd+Option+H).

Localization (EN, ES, PT-BR, ZH-Hans)

Full localization in English, Spanish, Brazilian Portuguese, and Simplified Chinese.

Why It Is Worth Having

RegExpress is for the moment when a regex is important enough that guessing is not acceptable. Paste real sample text, choose the same engine your project uses, and see matches, groups, replacements, warnings, and performance clues in one place.

The Pro tools are built around time saved: diagrams for understanding inherited patterns, debugging for finding where matching goes wrong, comparison for refactors, generated test suites for regression checks, and code generation for avoiding escaping mistakes when you move a tested pattern into your app.

Because Pro is a one-time $4.99 purchase, RegExpress makes sense even if it saves you one frustrating debugging session.

The 5 Regex Engines

RegExpress does not treat regex as one generic dialect. Swift Regex uses Apple's built-in Regex type with RegexBuilder support and specialized pattern handlers for common use cases like email and URL validation. NSRegularExpression provides ICU-compatible matching with Unicode support, anchors-match-lines, and dot-matches-line-separators options. JavaScript runs through JavaScriptCore with support for global, Unicode, sticky, dotAll, and multiline flags.

The Python engine emulates the re module with named groups, conditional patterns, verbose mode, ASCII-only matching, and locale-based behavior. PCRE2 brings the full power of Perl-compatible regular expressions: recursive patterns for matching nested structures, possessive quantifiers for backtracking control, and atomic groups for performance-critical matching. Each engine exposes its own set of options, so you can toggle case sensitivity, multiline, dotAll, verbose, Unicode, and engine-specific flags independently.

This matters because regex behavior varies between engines. A pattern that works in Python may fail in Swift. A JavaScript pattern with the sticky flag behaves differently than the same pattern without it. Testing in the selected flavor helps you catch dialect-specific bugs before they reach production.

Debugging, Profiling & Optimization

The visual debugger steps through pattern execution one token at a time. You can see which character is being examined, which part of the pattern is being evaluated, and where backtracking or failure points appear.

The performance profiler measures execution across four phases: initialization, compilation, matching, and cleanup. The execution timeline shows the flow of pattern processing. The token performance heatmap highlights which parts of your pattern are consuming the most time, so you can target optimizations where they matter most. Memory usage tracking shows allocation patterns across the matching process.

The backtracking risk analyzer runs in real-time as you type. It detects three specific risk patterns: nested quantifiers (like (a+)+ ), wildcard quantifiers (like .*.*), and broad character class quantifiers (like [\s\S]+[\s\S]+). Each risk is flagged with a severity level, an explanation of the danger, and a concrete rewrite that eliminates the backtracking risk. The pattern optimizer takes this further by analyzing patterns for general inefficiencies, showing before-and-after comparisons, estimating improvement percentages, and explaining each suggested change.

Pattern Generation & Intelligence

The AI pattern assistant generates regex from natural language descriptions. Describe what you want to match — "email addresses", "dates in MM/DD/YYYY format", "phone numbers with optional country code" — and it produces 2–3 alternative patterns with confidence levels, suggested regex options, and plain English explanations. The generation engine supports multiple complexity styles from simple to aggressive, and validates each pattern at compile time before presenting it.

The pattern recommender takes a different approach: give it sample text and it automatically detects patterns for emails, URLs, dates (multiple formats), phone numbers, IP addresses, credit card numbers, postal codes, social security numbers, time formats, and generic numeric patterns. Each recommendation includes an icon, confidence level (high, medium, low), match coverage percentage, and suggested engine options.

The pattern explainer breaks down any existing pattern into plain English. It shows a component-level explanation, a full token breakdown with the role of each element, an abstract syntax tree visualization, and flags for potential issues like excessive backtracking or unnecessary capturing groups. This is invaluable for understanding patterns you've inherited from other developers or found online.

Testing Infrastructure

The test suite lets you create comprehensive test cases for any pattern. Define strings that should match and strings that shouldn't, specify expected capture groups, and run everything as a batch with pass/fail reporting. The edge case generator automatically produces test strings designed to break your pattern: boundary conditions, empty strings, Unicode edge cases, extremely long inputs, and pathological backtracking triggers.

The regression test runner checks your saved patterns against their test cases to catch breaking changes. If you edit a pattern and accidentally break an existing test case, you'll know immediately. The flaky test replayer lets you re-run and diagnose intermittent failures. Import test cases from CSV or plain text files to integrate with your existing test data.

Pattern comparison provides a structural diff between two patterns. It shows match differences, capture group analysis, performance comparison, segment-level differences, and a recommendation for which pattern is better. This is essential when refactoring patterns — you can verify that the new version produces identical results before deploying it.

Learning, Challenges & Achievements

The tutorial system offers a structured curriculum starting with basic regex fundamentals and progressing through intermediate and advanced topics like recursive patterns, lookaheads, and performance optimization. Specialized learning paths focus on web development, data validation, and text processing. Progress is tracked per lesson with completion percentages and bookmarks.

Daily puzzles generate a new regex challenge every day. Choose your difficulty level, solve the puzzle, and build your streak. The points system rewards consistent practice and creative solutions. Regex Golf challenges you to write the shortest pattern that matches all strings in a target set while excluding all strings in an anti-set. With 4 difficulty levels (beginner, intermediate, advanced, expert), 9 challenge categories, hints, and character count limits, it's a deeply engaging way to sharpen your regex skills.

The achievement system tracks milestones across every aspect of the app — patterns tested, tutorials completed, puzzles solved, golf challenges won, and more. Achievements unlock with popup celebrations, and your achievement stats sync across all your devices via iCloud.

Library, Sync & Workflow

The pattern library stores unlimited patterns (Pro) with descriptions, tags, and test cases. Organize patterns into hierarchical folders, mark favorites for quick access, and search your entire collection by name, description, or pattern content. Smart pattern naming auto-generates descriptive names based on pattern analysis, and the duplicate detector identifies redundant patterns in your library.

iCloud sync uses CloudKit with incremental updates via change tokens, conflict resolution by most-recent timestamp, and offline queueing. Everything syncs: patterns, folders, favorites, history, tutorial progress, daily puzzle completions, Regex Golf solutions, and achievement stats. On iPad and Mac, multi-window support provides six secondary window types — Pattern Library, Playground, Reference Guide, Test Suite, Pattern Insights, and Achievements — so you can work with your library open alongside your testing environment.

Export patterns in JSON (with full metadata), CSV, YAML, TOML, or plain text. Import from any of these formats or from regex101/RegExr URLs. The regexpress:// deep link scheme creates shareable URLs that open a specific pattern, sample text, and engine flavor directly in the app. Draft recovery automatically saves your work and presents a recovery prompt if the app closes unexpectedly.

Pricing

The free tier gives you live regex testing, 20 saved patterns, 50 history items, folders, search, basic export, and 3 tutorial modules. You can write, test, organize, and learn before spending anything.

RegExpress Pro is a one-time purchase of $4.99. It unlocks unlimited saves and history, iCloud sync, advanced tutorials, test suites, visual debugging, pattern optimization, pattern comparison, visual diagrams, code generation, and more. Several Pro tools can be tried before upgrading.

From the Blog

RegExpress v7: Visual Regex Diagrams for Patterns You Can Actually Read

RegExpress v7 turns complex regular expressions into railroad-style diagrams, making it easier to understand inherited patterns, spot risky structure, and explain regex behavior.

Read article →

Why RegExpress v7 Tests Five Regex Flavors Instead of One Generic Regex

Regex behavior changes between Swift, NSRegularExpression, JavaScript, Python, and PCRE2. RegExpress v7 helps you test patterns in the flavor your project actually uses.

Read article →

RegExpress v7 Makes Regex Safer with Test Suites, Pro Trials, and a Bigger Free Tier

RegExpress v7 expands the free tier, adds generated regex test suites, and lets users try several Pro workflows before upgrading to the $4.99 one-time Pro purchase.

Read article →

Fixing Catastrophic Backtracking in Regular Expressions

A single poorly written regex can freeze your application for minutes or crash it entirely. Learn how to identify and fix catastrophic backtracking before it hits production.

Read article →

Regex Engines Compared: PCRE, JavaScript, Python, and More

Not all regex engines are created equal. Learn the key differences between PCRE, JavaScript, Python, and other regex implementations to avoid cross-platform surprises.

Read article →

A Developer’s Guide to JSON Schema Validation

JSON Schema provides a standard way to validate JSON data structures. Learn how to use it to catch bugs early and document your APIs.

Read article →
RegExpress Icon

Stop Shipping Regex Guesswork

Test, explain, diagram, debug, compare, save, and export regex patterns on iPhone, iPad, and Mac.

Download on App Store Privacy Policy