Where to test .NET regular expressions quickly

Posted: (EET/GMT+2)

 

Say you are writing a .NET application with C#, and you need to use some regular expressions to validate your input. If you have used regular expressions before, then you already probably know the basics, but for more complex ones, you might need to study the references.

At the same time, you might also wish to quickly test your regular expression against given input. You could do this in code, but if the testing must be done deep inside the application, then you might prefer a faster testing alternative.

One good solution to this problem is a web site called Regex Hero Tester. This is a web site with a playground for different regular expressions, and it is free to use.

Recommended!