Just Great Software

Regex Buddy - Learn, create, understand, test, use and store regular expressions

 Introduction 

 

 Buy Now 

 Our Guarantee 

 Download 

 Testimonials 

 Contact Us 

 User Forum 

 

 Screen Shots 

 Live Demos 

 Regular Expressions 

 Features & Benefits 

 Programming 

 C# 

 Delphi 

 GNU BRE & ERE 

 Java 

 JavaScript 

 MySQL 

 Oracle Database 

 PCRE 

 Perl 

 PHP 

 POSIX BRE & ERE 

 PostgreSQL 

 PowerShell 

 Python 

 R Language 

 REALbasic 

 Ruby 

 Tcl ARE 

 VB6 & VB.NET 

 VBScript 

 wxWidgets 

 XML Schema 

 Linux 

 

 Press Resources 

 Version History 

 Newsletter 

 Blog 

 Affiliates 

 

 

PowerGREP - Find files and information or search and replace through files and folders
EditPad - Convenient, powerful and versatile text editor to edit all kinds of text files
Ace Text - Store, manage, edit and reuse text from a central location
HelpScribble - Full-featured help authoring tool for creating help files from start to finish
DeployMaster - Installation builder delivering your software with a good first impression
      

Easily Use Regular Expressions in Your C# Source Code

The .NET Framework's Regex Support

Microsoft's .NET framework provides a solid implementation of regular expressions. You can use it in your C# application simply by importing the namespace System.Text.RegularExpressions.

While .NET's regex support is solid, Microsoft's regex documentation is very poor. Fortunately, RegexBuddy makes it very easy to use the power of regexes in your C# source code.

      
Only US$ 39.95
Windows 98, ME, NT4, 2000, XP and Vista
100% satisfied or money back

See How Easy Coding with Regexes Can Be

First, use RegexBuddy to define a regex or retrieve a regexp saved in a RegexBuddy library. Rely on RegexBuddy's clear regex analysis, which is constantly updated as you build the pattern, rather than dealing with the cryptic regex syntax on your own. Detailed help on that syntax is always only a click away.

If you copied a regex written for another programming language, simply paste it into RegexBuddy, and select the original regex flavor. RegexBuddy will then automatically convert it to the .NET regex flavor when you generate a C# source code snippet.

If you created a new regular expression, test and debug it in RegexBuddy before using it in your C# source code. Test each regex in RegexBuddy's safe sandbox without risking precious data. Quickly apply the regex to a wide variety of input and sample data, without having to produce that input through your application.

Finally, let RegexBuddy generate a source code snippet that you can copy and paste directly into Visual Studio or whichever IDE or C# code editor you use. Just choose what you want to use the regex for, and a fully functional code snippet is ready. You can change the names of variables and parameters to suit your naming style or the current situation, which RegexBuddy automatically remembers.

Don't bother trying to remember which classes to use or which methods to call. And don't worry about properly escaping backslashes and quotes. Just tell RegexBuddy what you want to do, and you will get the proper C# code straight away. Anything can be done: testing a string for a match, extracting search matches, validating input, search-and-replace, splitting a string, etc. Choose whether to create a reusable regex object for best runtime performance, or whether to use a one-line convenience function for maximum source code readability.

RegexBuddy wraps its code with the proper try..catch statements, so you will never get unhandled exceptions out of the blue.

Let RegexBuddy Make Regex Easy for You

Using regular expressions with C#

Using regular expressions with C#


"I am a .Net developer with a decent working knowledge of regular expressions. I have found RegexBuddy to be an incredible tool because its debugging features allow me to tinker with a pattern until it works correctly with my actual data. Its graphical nature allows me to build a pattern a piece at a time and see what is working and not working. This empowers me to use regular expression methods such as Split or Replace to greatly simplify my code in places where I would otherwise need to do extensive byte by byte loops. Besides being an outstanding value for the money, email tech support is outstanding! Additionally, the tutorial itself is worth the price of the product. If you only use regular expressions once in 5 years this product would still be an outstanding value for your money!"

-- Gary Winey
   23 February 2006, Indiana, USA

 

 

Page URL: http://www.regexbuddy.com/csharp.html
Page last updated: 08 June 2007
Site last updated: 04 October 2008

Published by Just Great Software Co. Ltd.
Copyright © 2004-2008 Jan Goyvaerts.
All rights reserved.