Skip to content

Instantly share code, notes, and snippets.

@HeLiBloks
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HeLiBloks/b11cd6b2de551fc95fe7 to your computer and use it in GitHub Desktop.
Save HeLiBloks/b11cd6b2de551fc95fe7 to your computer and use it in GitHub Desktop.
C# snippets
//##show message box
MessageBox.Show(Dts.Variables["YourVariableNameHere"].Value.ToString());
//regexMatch [[:number:]]
Regex.Match(Row.var, @"\d+").Value
//
Regex.Match(Row.var, @"[A-Za-z]+").Value
//date 09/12/1980
Regex.Match(Row.var, @"(\d+)[/](\d+)[/](\d{4})").Value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment