Introduction
Regex101 is a tool to **build, test, and debug regex**.
It provides a **Regex Editor** with **Flavor: PCRE2 (PHP)** and modes for **Match**, **Substitution**, **List**, and **Unit Tests**.
Key tools shown by Regex101 include:
- **Code Generator**
- **Regex Debugger**
- **Export Matches**
- **Benchmark Regex**
- **Format Regex**
Regex101 also includes an automatic explanation and match details:
> An explanation of your regex will be automatically generated as you type.
> Detailed match information will be displayed here automatically.
The editor includes a **Quick Reference** with categories such as **All Tokens**, **Common Tokens**, **General Tokens**, **Anchors**, **Meta Sequences**, **Quantifiers**, **Group Constructs**, **Character Classes**, **Flags/Modifiers**, and **Substitution**.
The source material does not show an official self-hosting option, deployment documentation, or resource requirements; it is presented as an online regex editor with save, share, account, community patterns, and quiz features.
Regex editorPCRE2Unit testsCode generatorRegex debuggerExport matchesBenchmark regexQuick reference
Screenshots

Deployment
官方托管 Web 服务
适合直接通过 regex101 官网在线构建、测试和调试正则表达式,无需自行部署或维护基础设施。
Details
Type Commercial software
License freemium
Last verified 2026-07-18
Ad slot 300 × 250 Ad
About the data
Stars / commit times sync automatically from the GitHub API; pricing and features are human-verified.