Quick Start Guide

RegEx Builder

Window Menu
Previous Top Next

RegEx Builder is very easy to use.  Just follow these simple steps:
1.   Startup RegEx Builder.
2.   Copy, or type, examples of the text patterns that you want to match into the Target Text box. Try to think of as many combinations as you can of the pattern you would like to match. You can also include examples of text that you do not want to match to ensure that you don't accidentally build an expression that matches unexpected text.
3.   Begin building your expression in the Regular Expression box.  You can type expression constructs directly, or use the right-click menu in the Regular Expression box to easily insert common regular expression constructs into your expression.  Continue building your expression until your are satisfied that it matches your target text.  If the background color of the expression is red, then the expression is not valid and an appropriate error message will be displayed just below the regular expression box.  Since RegEx Builder evaluates while you type you will see errors indicated while you have incomplete parts of the expression.  This is normal.
4.   Once your expression is complete you can simply copy it to the clipboard and paste it into your code.  If you are using C#, you can use the use the "Copy C# Constructor to Clipboard" menu item on the right-click menu to create a complete constructor ready to paste into your C# code.

That's it.  That's all there is to it.  You're done...

More details can be found in the Reference section of this help manual.