Home
    Shop
    Advertise
    Write For Us
    Affiliate
    Newsletter
    Contact

Split String With Regular Expression - Online .Net Tester

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:
     
     

Split string results: