
regex101
regex101 tests and debugs regular expressions with live matches, explanations, and support for several regex engines.

About regex101
regex101 is a web tool for building, testing, debugging and converting regular expressions. It shows real-time matches, explains tokens, groups and flags, and shows match information including named groups and captured values.
It supports PCRE2 (PHP), JavaScript, Python, Golang, Java, .NET 10.0 (C#), Rust, POSIX ERE, POSIX BRE (grep/sed) and PCRE (Legacy). It includes modes for match, substitution, extraction and unit tests, plus tools for code generation, debugging, conversion, match export, benchmarking and formatting. Users can save and share examples and publish to a community library.
Key features
- Test patterns with real-time matches and group capture details
- Explain tokens, groups, and flags for entered pattern
- Convert patterns, flags, and replacement text between supported flavors
- Debug regex execution to investigate unexpected results
- Export matches to JSON, JSON Lines, CSV, or Plain Text
- Run substitution, extraction, and unit tests on patterns
- Supports PCRE2, JavaScript, Python, Golang, Java, .NET, Rust and POSIX flavors
- Explains tokens, groups and flags with match and capture details
- Includes converter, debugger, code generator and match export tools
regex101 at a glance
- Website
- regex101.com
- Category
- Development › Developer Tools
- Type
- Online tool
- Pricing
- Not confirmed. Check the site
- Platforms
- Web
- Open source
- Not stated
- Language
- English
- Last checked
- Oct 5, 2026 · Online when checked
- Listed
- Oct 5, 2026
Guides for Developer Tools
regex101 alternatives
Tools and sites you could use instead, ranked by how closely they match.
Jupyter Notebook combines live code, equations, explanatory text, visualizations, and interactive computing in a web platform.
Regex Vis provides a visualizer and editor for exploring regular expressions.
A python library for doing approximate and phonetic matching of strings.
Statsmodels provides Python tools for inferential statistics, hypothesis testing, and regression.
Handle tasks such as JSON formatting, text comparison, and regular expression testing with DevToys, a desktop toolkit.
Mutahunter provides open-source mutation testing for evaluating software tests.
regex101 comparisons
Featured in
8 sites8 Best Regex Testing Tools for Matching and Understanding Patterns
I'd choose regex101 for most regex testing, RegExr for learning JavaScript patterns, and CyberChef when matching is one…
Popular in Developer Tools
Well-known listings from the same topic.
regex101 FAQ
Which regex flavors does regex101 support?
What formats can matches be exported to?
Can I save and share regex examples?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.
















