Generating Regular Expression Code

RegexDesigner.NET provides a powerful code generation feature, which allows you to create code in either C# or VB.NET to create a Regex object, perform a Match, Replace or Split operation and then process the relevant results, including:

To generate regular expression code

  1. To open the Generate Code dialog, do one of the following:
  2. The dialog will open, and by default will generate C# code for a Match operation.
  3. Use the operation and language buttons to generate the desired code.
  4. Click Copy to select the generated code into the clipboard, or use the mouse to select and copy specific sections of code.
  5. Click Close once you have finished.

See Also

Compiling To Assemblies