Click here to Skip to main content
15,881,204 members
Articles / Programming Languages / C#
Article

RegExTest: Regular Expression Tester

Rate me:
Please Sign up or sign in to vote.
3.52/5 (19 votes)
6 Aug 2003 82.1K   1.1K   23   10
With RegExTest, you can fully test your regular expressions against a target text. Regular Expression syntax is not so obvious, so a quick test enviroment is really helpful in all situations. RegExTest allows you to use and test grouping functions.

A few words

Just a few words for this article, since the title is self-explanatory: RegExTest allows you to test your regular expression statements against an arbitrary text.

I've developed this really simple tool, just because I needed a simple and fast way to test my regular expressions without the need to recompile each time my project; understanding how a regular expression operates, just "reading" it and trying to imagine what it will do is not so simple when you have long expressions and, obviously, testing them can help to avoid silly bugs.

Probably, the most interesting thing is that it supports the grouping functions, so that you can also check that your grouping statement functions are as you expect.

Sample screenshot

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Italy Italy
Born in 1977, works as a freelancer, focusing on Database / Software Architecture.
In the free time writes articles for two of the major Italian programming magazines (Computer Programming and VBJ) and also develops nice and useful programs.
His major interests and skills are the .NET framework (C# in particular) and SQL Server.

Comments and Discussions

 
NewsThere's a new version of the RegEx Tester Tool ! Pin
Pablo Osés1-Mar-08 23:43
Pablo Osés1-Mar-08 23:43 
I have released a new version of the RegEx Tester tool. You can download it free from http://www.codeproject.com/KB/string/regextester.aspx and http://sourceforge.net/projects/regextester

With RegEx Tester you can fully develop and test your regular expression against a target text. It's UI is designed to aid you in the RegEx developing. It uses and supports ALL of the features available in the .NET RegEx Class.
Generalcryptic variable names Pin
yetanotherchris22-Jan-04 0:01
yetanotherchris22-Jan-04 0:01 
GeneralRe: cryptic variable names Pin
manowar22-Jan-04 3:22
manowar22-Jan-04 3:22 
GeneralRe: cryptic variable names Pin
Jon Rista13-Sep-07 5:18
Jon Rista13-Sep-07 5:18 
GeneralAnother RegEx Tester Pin
Wesner Moise7-Aug-03 14:06
Wesner Moise7-Aug-03 14:06 
GeneralRe: Another RegEx Tester Pin
Wesner Moise7-Aug-03 14:08
Wesner Moise7-Aug-03 14:08 
GeneralExpresso Pin
Jonathan de Halleux7-Aug-03 5:02
Jonathan de Halleux7-Aug-03 5:02 
GeneralRe: Expresso Pin
manowar7-Aug-03 5:23
manowar7-Aug-03 5:23 
GeneralRe: Expresso Pin
Jonathan de Halleux7-Aug-03 5:27
Jonathan de Halleux7-Aug-03 5:27 
GeneralRe: Expresso Pin
manowar7-Aug-03 5:31
manowar7-Aug-03 5:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.