Regex101
Build and debug regular expressions
✓ Reviewed by STB Editorial Team · Updated Dec 1, 2026
About this tool
Imagine you have a regex that almost works and you cannot see why. regex101 is built for exactly that: paste the pattern and a test string, and it shows the match, explains each token, and flags the group that fails — in your browser, with nothing uploaded.
How it fits into a workflow
- Choose the dialect (PCRE2, JavaScript, Python, Java, Go and more).
- Paste the pattern and sample text; read the live match and explanation.
- Save unit tests, then copy the finished regex into your code.
It suits developers debugging a regex tester case and anyone learning regular expression syntax. It is less useful if you need a full IDE or want to run it offline — it is a web tool, and the free tier has limits.
Cost: free tier + Pro. Where it runs: any modern browser, desktop and mobile.