RegEx Home | .Net Regular Expression Syntax Summary | Add to Favorites
Regular expressions can be used to split string using Regex.Split method. Unlike other methods, in this case returned strings actually don't match regular expression, but expression is used to define divider. All RegexOptions can be changed to suite to your specific case. Regex.Split provides result in form of string array.
Input text that will be splitted: Regular Expression: RegexOptions: Ignore Case Multiline Singleline IgnorePatternWhitespace RightToLeft CultureInvariant ExplicitCapture ECMAScript