Dev

🔤 Regex101

Online regex tester and debugger — real-time matching with detailed explanations

🔗 Go to Regex101
Category
Dev
Developer
Firas Dib
Free Plan
✅ 무료
Language
English

About

Regex101 is a browser-based regular expression tester. Type a pattern and it instantly highlights matches in your test string, explains each regex token in detail, and shows capture groups and substitutions. Choose from Python, JavaScript (ECMAScript), PCRE, Go, and other regex engines to match your actual code environment.

Key Features

💡 Tips

  • Select the regex engine (Python, PCRE, JavaScript, etc.) that matches the language you're actually coding in — syntax varies between engines.
  • The 'Explanation' panel on the right explains every token, making it a great learning tool even if you're not debugging.
  • Use the 'Code Generator' tab to turn your finished pattern into ready-to-use Python, JS, or PHP code snippets.

Frequently Asked Questions

Is it free?

Core features are completely free. A small donation-based option exists for expanded pattern library storage, but it's entirely optional.

What regex engines are supported?

PCRE2 (PHP), ECMAScript (JavaScript), Python, Golang, Java, and .NET are all supported.

Can I save my patterns?

Yes — you can generate a shareable link without an account. Creating a free account lets you save patterns to a personal library.