Skip to main content

Build and test your regex.

Learn the editor, work through examples, and connect regex101 to your tools.

Search documentation

Search guides, features, and reference pages.

    Get help

    Search runs in your browser. Queries are not sent to a search service.

    Worked examples​

    Extract fields from logs

    Extract order IDs, add regression tests, and run the generated JavaScript.

    Clean text in steps

    Load a file, apply two replacement layers, and copy the completed text.

    Investigate a slow pattern

    Compare execution times for the same inputs and repeat the measurement in Node.js.

    regex101 Pro

    Pro adds multiple test strings, benchmarks, document extraction, and substitution pipelines.

    Compare Free and Pro →

    Self-host regex101

    Deployment requirements, included features, and annual Enterprise pricing.

    Self-hosting documentation →

    Help and releases

    Community discussions, bug reports, and release notes.

    Support resources →