• Real-time as-you-type highlighting of regex matches
  • C# and VB.NET code generation
  • Regular expression syntax highlighting
  • Regular expression code completion
  • Regular expression benchmarking
  • Free online storage for your regular expressions

3076 registered programmers rely on Regex Hero

The Online .NET Regex Tester

Is Regex Hero completely compatible with the .NET flavor of regular expressions?

Yes. Regex Hero runs directly off of the Regex class library inside Silverlight. I will say that Silverlight is missing the RegexOptions.Compiled option that's normally in .NET. And this feature can affect performance. However, in terms of compatibility and functionality, Silverlight's Regex implementation is otherwise identical to the Regex inside the complete .NET framework.

How do I get multiline matching to work?

There are a couple things that might trip you up here. First, the ^ and $ anchors will normally assert the beginning and end of the entire string. You'll have to check the "multiline" option in Regex Hero for ^ and $ to match the beginning an end of every line. Second, there's the "CrLf marks a line ending" setting. If you check this then a carriage return/line feed combination will end every line. Otherwise, only line feeds are used.

What if I don't have Silverlight?

Download Silverlight here. It's under 6 MB and extremely lightweight. It doesn't add any annoying system tray icons or any kind of agent to your computer. It's a simple plug-in which allows both the web and desktop versions to function.

"Nice Silverlight-based Regular Expression workbench."

"I really like what you have done with Regex Hero. Simple, elegant, takes big expressions, etc., and above all - .NET."

"I've come to depend on Regex Hero for one problem I work on almost constantly lately. I doubt it would have been possible for me to come as far as I have without your excellent little regex tester."