Just note that that overload of Regex.Split will split the string on every occurrence of the substring. That may be what you want, but you said you want to split the string in two, so it may be that you only want to split on the first occurrence. If you want to limit the number of substrings in the output you would have to use a different overload, and one that is not Shared I believe.