Click here to Skip to main content
11,928,569 members (51,123 online)
Click here to Skip to main content
Add your own
alternative version


19 bookmarked

.NET RegEx Test

, 20 Oct 2006 CPOL
Rate this:
Please Sign up or sign in to vote.
Handy Regex test utility for .NET helps you get the right expression to use in your code
Sample Image - dotnetregextest.jpg


Frustrated with regular expressions? Finding it a pain to escape your expressions so you can safely insert them into your code? Here is a useful tool that lets you tweak your regular expressions, and then easily copy them to use in your code. It is based on Davide Mauri's Excellent RegExText project (if you can read Italian, his Web site is also interesting). I polished it up a bit and added a few features, most notably the "copy" button which will auto-escape the regular expression and copy it to the clipboard for easy insertion into your code.

The great thing about this tool is that it uses the same Regex class you are programming with, so you are guaranteed to get the same results you saw while testing. And if you are just learning about coding with regular expressions, check out the source code for some ideas.


  • 20th October, 2006: Initial post


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Software Developer (Senior) Jungle Disk
United States United States
No Biography provided

You may also be interested in...

Comments and Discussions

NewsThere's a new version of the RegEx Tester Tool ! Pin
BucanerO_Slacker2-Mar-08 0:24
memberBucanerO_Slacker2-Mar-08 0:24 
GeneralGreat! Pin
n0ell20-Jul-07 6:30
membern0ell20-Jul-07 6:30 
GeneralSpelling is incorrect. Column Lenght Pin
dbogey22-Jun-07 10:42
memberdbogey22-Jun-07 10:42 
General"@" Directive Pin
Tim McCurdy23-Jan-07 5:14
memberTim McCurdy23-Jan-07 5:14 
GeneralRe: "@" Directive Pin
kurt.griffiths23-Jan-07 13:02
memberkurt.griffiths23-Jan-07 13:02 
GeneralNice tool Pin
THEMANJD12-Jan-07 11:29
memberTHEMANJD12-Jan-07 11:29 

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.

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.151126.1 | Last Updated 20 Oct 2006
Article Copyright 2006 by kurt.griffiths
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid