regex101 Regular Expression Tester compared with RegExr, Visual Studio Code and RegexBuddy| regex101 | RegExr | Visual Studio Code | RegexBuddy |
|---|
| Supported flavors: PCRE2, PCRE (legacy), JavaScript, Python, Go, Java, .NET, Rust, POSIX ERE and POSIX BRE, selectable per pattern so the test matches the engine your code uses. | Supported flavors: Two flavors: JavaScript and PHP/PCRE. The JavaScript mode uses the browser RegExp engine. | Supported flavors: The Find control has a Regular Expression option. The editor documentation does not name the regex flavor. | Supported flavors: Java, JavaScript, .NET, Perl, PCRE, Python, Ruby, PHP, PowerShell, PostgreSQL, MySQL, Oracle, RE2, POSIX, ICU and others. |
| Debugging and explanation: A regex debugger, a benchmark function and a formatter. The detailed explanation of tokens, groups and flags is a Pro feature. | Debugging and explanation: The Explain tool describes the expression in plain English, and the Details view lists capture groups. Test suites define strings that must or must not match. | | Debugging and explanation: The tester steps through matches and shows the full matching process with a report for each match. |
| Substitution, conversion and code output: Substitution and extraction modes, a code generator, export of matches as JSON, CSV or plain text, and conversion between flavors. | Substitution, conversion and code output: Replace and List tools, a cheat sheet and a full reference, plus saving and sharing of expressions. | Substitution, conversion and code output: Capture groups are referenced by their number in the replacement string, with case modifiers \u, \U, \l and \L. Searching across files uses the Search view. | Substitution, conversion and code output: Converts regexes between flavors and generates code snippets for C#, VB.NET, Delphi, Java, Perl, PHP, JavaScript, Python, Ruby and C/C++. |
| Platform and access: Online tester. Patterns can be saved and shared by link, and published to a community library. | Platform and access: Online tool. Signing in persists favorites and patterns, and it is open source with a project on GitHub. | Platform and access: Code editor, so regex work happens on the files you have open. | Platform and access: Windows 7 to 11, and Linux through WINE. |
| Licence and cost model: The matching and testing core is free, with Pro and Enterprise tiers for additional features. | Licence and cost model: Shows a developer-oriented ad. | | Licence and cost model: Licensed software with new, upgrade and multi-user licences, and a money-back guarantee. |