Just Great Software

RegexBuddy - 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 

 Groovy 

 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
RegexMagic - Generate regular expressions
EditPad - Convenient, powerful and versatile text editor to edit all kinds of text files
AceText - Store, manage, edit and reuse text from a central location
DeployMaster - Installation builder delivering your software with a good first impression
HelpScribble - Full-featured help authoring tool for creating help files from start to finish
      

Why Regular Expressions Are an Indispensable Tool for Many Programmers

Regular Expressions Save Development Time

How many lines of code does a developer need to check if a syntactically valid email address was entered?

  • C#: bool OK = Regex.IsMatch(InputString, "\\A[A-Z0-9._%-]+@[A-Z0-9._%-]+\\.[A-Z]{2,4}\\z", RegexOptions.IgnoreCase);
  • VB.NET: OK = Regex.IsMatch(InputString, "\A[A-Z0-9._%-]+@[A-Z0-9._%-]+\.[A-Z]{2,4}\z", RegexOptions.IgnoreCase)
  • Java: Boolean FoundMatch = InputString.matches("(?i)[A-Z0-9._%-]+@[A-Z0-9._%-]+\\.[A-Z]{2,4}");
  • Perl: if ($input =~ m/[A-Z0-9._%-]+@[A-Z0-9._%-]+\.[A-Z]{2,4}/i) { ... }
  • PHP: if (preg('/[A-Z0-9._%-]+@[A-Z0-9._%-]+\\.[A-Z]{2,4}/i', $subject)) { ... }
  • JavaScript: if (subject.match(/[A-Z0-9._%-]+@[A-Z0-9._%-]+\\.[A-Z]{2,4}/i)) { ... }
  • Python: if re.match(r"\A[A-Z0-9._%-]+@[A-Z0-9._%-]+\.[A-Z]{2,4}\z", subject, re.I):

As you can see, in many of today's most popular programming and scripting languages, a programmer who knows what he or she is doing needs only one line of code. Sure, the regex pattern used to make this work is not a prime example of easy-to-read code. But compare this to two dozen lines to do the same tests in your own code.

A single regular expression takes far less time to test and debug, and is probably easier to read by the developer who has to maintain your code later. Certainly if that developer is familiar with regular expressions, and uses RegexBuddy.

      
Only US$ 39.95
Windows 98, ME, NT4, 2000, XP, Vista, and 7
100% satisfied or money back
Easily implement regular expressions in all your favorite programming languages with RegexBuddy

Easily implement regular expressions in all your favorite programming languages with RegexBuddy

Quickly and Confidently Code with Regexes

Regular expressions make most input validation, searching and parsing tasks much easier. RegexBuddy makes programming with regular expressions much easier.

When you are faced with maintaining code using cryptic regexes, just copy and paste the regex pattern into RegexBuddy for study. You will see the pattern laid out as a clearly to understand tree, and quickly grasp the way the regex pattern works. The Explain Token button links each item to the appropriate section in RegexBuddy's detailed regex tutorial.

Create or edit regular expressions with RegexBuddy's building blocks instead of or in combination with typing in the pattern using regex syntax. RegexBuddy keeps both automatically in sync.

Test and debug your regular expression in RegexBuddy before using it in your 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 your code editor. Don't bother trying to remember which classes to use or which methods to call. Just tell RegexBuddy what you want to do, and you will get the proper source code straight away. RegexBuddy knows all the common regex actions and how to perform them with a variety of programming languages: C#, VB.NET, VB 6, Delphi, Java, Perl, PHP, JavaScript, VBScript, Python, Ruby, Tcl and C/C++. RegexBuddy can also generate SQL statements for Oracle Database, MySQL and PostgreSQL.

If you use another language, or want to update a regex in an existing piece of code, simply copy and paste the regex by itself. RegexBuddy can convert a regular expression into the string styles used by most languages, adding and escaping quotes and other special characters. A tedious and error-prone job to do by hand.

Get RegexBuddy now to quickly and confidently develop software using time-saving regular expressions.

Let RegexBuddy Make Regex Easy for You

"Your software is simply the most useful software on my computer. This software has helped me script regexes in everything from ColdFusion, to JavaScript to just EVERYTHING.

"Regexes that I tried years ago, that nobody seemed to know how to do, this software has helped me do myself. Considering that my alternatives would be spending hours and hours writing blocks of code to do one regex line's worth, or subcontracting work to someone experienced in it. I can't tell you how much money its saved me.

-- Tony Hicks
   25 May 2005, Arkansas, USA

Using regular expressions with the JavaScript RegExp Object

Using regular expressions with the JavaScript RegExp Object


Using regular expressions with Visual Basic.NET

Using regular expressions with Visual Basic.NET

 

 

Page URL: http://www.regexbuddy.com/programming.html
Page last updated: 08 June 2007
Site last updated: 03 March 2010

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